Meetakshi sent a patch idea to try (to also fix this in cifs-utils) - will take a look On Wed, Mar 12, 2025 at 11:02 AM Paulo Alcantara <pc@xxxxxxxxxxxxx> wrote: > > Adam Williamson <awilliam@xxxxxxxxxx> writes: > > > On Wed, 2025-03-12 at 10:32 -0500, Steve French wrote: > >> merged into cifs-2.6.git for-next pending additional testing/review > >> > >> Presumably we could also update cifs-utils (mount.cifs.c) to > >> workaround this as well. Thoughts? > > > > Yeah, I was going to ask whether just not passing password2 when doing > > anonymous mount might be an option? That way the new cifs-utils will > > work with older kernels, rather than being a sudden surprise for anyone > > who happens to get a new cifs-utils but not a new kernel, for whatever > > Yes, we could also change cifs-utils to not send both password= and > password2= when using guest mount option. > > The kernel change is still required in case someone is using mount(2) > directly and end up passing an empty password2= option. -- Thanks, Steve