We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ms-Mcs-AdmPwdExpirationTime holds the expiration time for LAPS passwords and is formatted in ms epoch time.
ms-Mcs-AdmPwdExpirationTime
Would be great if it could be added, so it gets formatted as a date.
The text was updated successfully, but these errors were encountered:
Hello,
You can use a custom formatter to do that:
from ldap3.protocol.formatters.formatters import * formatter = { 'ms-Mcs-AdmPwdExpirationTime': format_ad_timestamp} ldap_server = ldap3.Server('{}://{}'.format(ldap_scheme, domain_controller), formatter=formatter)
🌻
Sorry, something went wrong.
Thank you, it works. I've also used the validator validate_ad_timestamp.
validate_ad_timestamp
No branches or pull requests
ms-Mcs-AdmPwdExpirationTime
holds the expiration time for LAPS passwords and is formatted in ms epoch time.Would be great if it could be added, so it gets formatted as a date.
The text was updated successfully, but these errors were encountered: