[Samba] About password expiry

Lee Brown leeb at ratnaling.org
Fri Nov 27 16:45:39 UTC 2015


This was the first thing I found on google:

https://msdn.microsoft.com/en-us/library/cc223384.aspx

Hope it helps -- lee

On Fri, Nov 27, 2015 at 1:40 AM, mathias dufresne <infractory at gmail.com>
wrote:

> That's a very interesting information. Is there, somewhere, a list of these
> computed attributes and their meaning?
>
> Best regards,
>
> mathias
>
> 2015-11-26 9:34 GMT+01:00 Andrew Bartlett <abartlet at samba.org>:
>
> > On Thu, 2015-11-26 at 00:40 -0500, Amaury Viera Hernández wrote:
> > > Hi every one:
> > > I'm using samba4 as domain controller and a I want to check every 1
> > > hour in my mail server the password expiration for every user in the
> > > domain. I need to kow what is the attribute used in samba4.
> > > Using ldbsearch i see badPasswordTime and accountExpires, but in the
> > > microsoft documentation said that accountExpires is used for
> > > represent the date when the account expires. Can i use this and send
> > > the email to the users telling that they need to change their
> > > password?
> > > About badPasswordTime said that represent The last time and date that
> > > an attempt to log on to this account was made with a password that is
> > > not valid.
> > >
> > > I'm confuse. Could you help me to know which of this attributes I
> > > need for advise to the users about their password expiration?
> > > Thanks in advance. Amaury.
> >
> > Try asking for the operational (so generated, and only given if
> > requested) attribute "msDS-UserPasswordExpiryTimeComputed" in current
> > versions.
> >
> > Andrew Bartlett
> >
> > --
> > Andrew Bartlett                       http://samba.org/~abartlet/
> > Authentication Developer, Samba Team  http://samba.org
> > Samba Developer, Catalyst IT
> > http://catalyst.net.nz/services/samba
> >
> >
> >
> >
> > --
> > To unsubscribe from this list go to the following URL and read the
> > instructions:  https://lists.samba.org/mailman/options/samba
> >
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  https://lists.samba.org/mailman/options/samba
>


More information about the samba mailing list