[
https://issues.apache.org/jira/browse/DIRSTUDIO-804?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Pierre-Arnaud Marcelot resolved DIRSTUDIO-804.
----------------------------------------------
Resolution: Fixed
Fix Version/s: 2.0.0
2.0.0-M4
Assignee: Pierre-Arnaud Marcelot
Fixed at revision 1398267.
http://svn.apache.org/viewvc?rev=1398267&view=rev
> Interpret Active Directory Timestamps
> -------------------------------------
>
> Key: DIRSTUDIO-804
> URL: https://issues.apache.org/jira/browse/DIRSTUDIO-804
> Project: Directory Studio
> Issue Type: New Feature
> Components: studio-ldapbrowser
> Affects Versions: 2.0.0-M3
> Environment: All.
> Reporter: Jim Willeke
> Assignee: Pierre-Arnaud Marcelot
> Priority: Minor
> Fix For: 2.0.0-M4, 2.0.0
>
> Attachments: Screen Shot 2012-10-15 at 14.23.46.png, Screen Shot
> 2012-10-15 at 14.23.56.png
>
>
> Within Active Directory there are several attributes which represent time as
> using the OID: 1.2.840.113556.1.4.906 (Large Integer).
> The common attributes I often use are:
> pwdLastSet
> accountExpires
> lastLogoff
> lastLogon
> lastLogonTimeStamp
> badPasswordTime
> (There a some others that some people may wish to use also)
> It would be helpful, if there was a value editor that could accomodate the
> time values presented within these attribute.
> I have used the following code for the conversion and it is works out to be
> very close:
> public static Date convertAdFileTimeToDate(long adFileTimeStamp)
> {
> Date adDate = new Date((adFileTimeStamp - 116444736000000000L) / 10000);
> return adDate;
> }
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira