collective / collective/pas.plugins.ldap
Problem with expire in AD
- Dominant language
- Python
- Stars
- 13
- Forks
- 22
- PR merge metrics
- No merged PRs in 30d
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
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.