[Samba] unexpected password expiration

mj lists at merit.unu.edu
Sat Sep 18 14:21:47 UTC 2021


In our case, both ("pdbedit" and "net user") give the same output:

> Password must change: never

So, I guess we need to check the tool we used.

Thanks!

Op 17-09-2021 om 20:44 schreef miguel medalha via samba:
>   
>>>  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