[Samba] Using ldap to check last password modification date
Rowland Penny
rowlandpenny at googlemail.com
Wed May 6 01:32:04 MDT 2015
On 05/05/15 20:31, 술욱 wrote:
> Hello,
>
> For a portal I'm working on, I need to know if changing the unicodePwd
> attr with LDAP also updates pwdLastSet (so the account doesn't get
> locked). It seems the answer is yes, but the value I get from
> pwdLastSet is somewhat weird:
>
> pwdLastSet: 130753269490000000
>
> That is Wed, 08 Jun 2011 11:31:34 GMT
>
> Why? Is that epoch or something else? Is there anything else I need to
> update when I change the user password using ldap?
>
> Thanks!
>
> Regards,
> Norberto
Not weird, wrong epoch :-)
With windows epoch: Tue, 05 May 2015 19:15:49
with windows epoch: Wed, 08 Jun 2011 11:31:34
Windows uses an epoch staring at Jan 1, 1601
Rowland
More information about the samba
mailing list