-
-
Notifications
You must be signed in to change notification settings - Fork 21
Open
Labels
Description
In pas.plugins.ldap and node.ext.ldap (https://github.com/conestack/node.ext.ldap/blob/299f3c056570d80b0e4346ffe441490489bade63/src/node/ext/ldap/ugm/expires.py#L105) I cannot find an implementation for account expire in MS Active Directory.
IMO the implementation must have 0 or 0x7FFFFFFFFFFF (9223372036854775807) as "no expire" and the value as the number of 100 nanosecond intervals from January 1, 1601 (UTC) (aka filetime).
This is the expire specification for MS Active Directory
https://learn.microsoft.com/en-us/windows/win32/adschema/a-accountexpires