[Samba] How to detect days until password expires?
joezacky at zacky.com
Mon Mar 27 18:30:54 UTC 2017
On 3/25/2017 11:28 AM, Rowland Penny via samba wrote:
> On Sat, 25 Mar 2017 14:11:00 -0400
> Mark Foley via samba <samba at lists.samba.org> wrote:
>> For a given Samba4 AD user, how do determine the number of days until
>> the password expires?
> This was raised some time ago, try searching the list archives, but it
> basically revolves around the 'msDS-UserPasswordExpiryTimeComputed'
You can check this from a DOS prompt on your Windows computer:
C:\Users\joe>net user maryk /domain | find "Password expires"
Password expires Never
More information about the samba