Re: [PATCH] smb: client: fix regression with guest option

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.




[Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux