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
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 ? >our passwords expire every 90 days if the password has expired the pwdLastSet is also 0 ? heinz> Rowland >
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 >