Web lists-archives.com

Re: [Samba] How to detect days until password expires?




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@xxxxxxxxxxxxxxx> wrote:

For a given Samba4 AD user, how do determine the number of days until
the password expires?

--Mark

This was raised some time ago, try searching the list archives, but it
basically revolves around the 'msDS-UserPasswordExpiryTimeComputed'
attribute.

Rowland

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

Joe


--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba