[Samba] samba-tool password edits

Rowland penny rpenny at samba.org
Fri Oct 9 21:04:29 UTC 2020

On 09/10/2020 21:45, Robert Wooden via samba wrote:
> I have been searching around samba-tool --help under various options and I
> am not locating any adjustments to passwords. Like "User cannot change
> password" or "Password never expires".
> Granted these are W10 settings in 'user properties' (as examples.)
> Where would I find password edits or changes, etc.?

For the password never expires, see 'samba-tool user setexpiry --help

The 'user cannot change password' is a bit more complex as it involves 
denying the user write access to their own password by changing the ACL. 
I do not think anyone has yet provided the code to do this.


More information about the samba mailing list