Web lists-archives.com

Re: [Samba] How to get password expiration?

On Fri, 2017-02-03 at 07:44 -0700, Jeff Sadowski via samba wrote:
> This seems to work for maxPwdAge
> ldapsearch -LLL -Q -s base -h ad.mydomain.tld -b
> dc=ad,dc=mydomain,dc=tld
> maxPwdAge
> now I just need to query a users pwdLastSetq

Don't bother.  Let Samba do it for you, just query this operational


 on the user.

I hope this helps,

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