[Samba] pwdLastSet=0

Heinz Hölzl heinz.hoelzl at gvcc.net
Thu Nov 21 13:48:47 UTC 2024


for example, the password for one user was set 2 months ago,
userAccountControl was always 512 but pwdLastSet was still 0

and many more...


I have deleted some of these accounts, can I restore them?


Am Donnerstag, dem 21.11.2024 um 12:39 +0000 schrieb Rowland Penny via
samba:
> On Thu, 21 Nov 2024 12:06:33 +0000
> Heinz Hölzl via samba <samba at lists.samba.org> wrote:
> 
> > hi,
> > 
> > I have accounts which have pwdLastSet=0, even if the password was
> > set
> > a few days or weeks ago.
> > 
> > Could that be?
> > 
> > or what exactly does the attribute pwdLastSet mean?
> > 
> 
> If the pwdLastSet attribute is set to '0', it should mean that the
> user
> must change their password at next logon, unless
> 'UF_DONT_EXPIRE_PASSWD' is set in 'userAccountControl'
> 
> How are you changing the passwords ?
> 
> Rowland
> 



More information about the samba mailing list