[Samba] unexpected password expiration

miguel medalha medalist at sapo.pt
Fri Sep 17 18:44:37 UTC 2021


 
>> From a Windows elevated command prompt, you can use the following:
>> 
>> net user [username] /domain

> You can get something similar with:
> pdbedit -u USERNAME -w -v

This gives incorrect results for password expiration. For the same user:

"net user [username] /domain":
Password expires 2021-12-04 09:04:18

"pdbedit -u USERNAME -w -v":
Password must change: never





More information about the samba mailing list