Learn F5 Technologies, Get Answers & Share Community Solutions Join DevCentral

Filter by:
  • Solution
  • Technology
Answers

Active Directory date long integer pwdLastSet conversion

Is there a way to convert this long integer value (pwdLastSet) from AD into a readable date using an iRule?

0
Rate this Question

Answers to this Question

placeholder+image
USER ACCEPTED ANSWER & F5 ACCEPTED ANSWER

Hi Steve,

The pwdLastSet value is basically the number of 100 nanosecond intervals since January 1, 1601 (UTC). So yes, there is a way.

The following probably isn't fully 'copy-pastable' to an iRule, but it'll give you the idea:

http://wiki.tcl.tk/1827

Greets,

Thomas Schockaert

0