[WIP PATCH] allow changing the password on remount in some cases

Steve French smfrench at gmail.com
Fri Feb 23 18:58:37 UTC 2024


Here is an updated patch which handles the point about preventing remount
from changing it for the sec=krb5 case.

This does look like something important for stable (users have cases where
they can't unmount due to a running app but need to update an expired
password) - are you preferring that we only allow this when user also specifies
a new mount option in addition to "remount" ie "forcenewcreds" (or probably
better would be to call it "newpassword=" mount option)?

On Fri, Feb 23, 2024 at 8:08 AM Paulo Alcantara <pc at manguebit.com> wrote:
>
> Shyam Prasad N <nspmangalore at gmail.com> writes:
>
> > No major objections for this patch. While it may not cover all cases
> > like DFS, multiuser etc., it's still a starting point to allowing
> > users to change password on existing mounts without unmounting.
>
> As long as it doesn't go through -stable and is accompanied with at
> least a new option like 'forcenewcreds', should be fine.  Then you have
> the next merge window to handle the missing cases and fix any problems.



-- 
Thanks,

Steve
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-cifs-allow-changing-password-during-remount.patch
Type: text/x-patch
Size: 5294 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20240223/64871714/0001-cifs-allow-changing-password-during-remount.bin>


More information about the samba-technical mailing list