-
Notifications
You must be signed in to change notification settings - Fork 7
Added GMS managed passwords #54
New issue
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
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -267,6 +267,7 @@ def _decode_pwd_history(db: Database, value: list[bytes]) -> list[bytes]: | |
| "trustAuthIncoming": (None, _pek_decrypt), | ||
| "trustAuthOutgoing": (None, _pek_decrypt), | ||
| "msDS-ExecuteScriptPassword": (None, _pek_decrypt), | ||
| "msDS-ManagedPassword": (None, lambda db, value: bytearray(c_ds.GMS_MANAGED_PASSWORD(value).Password).hex()), | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This is now positioned under a
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. As far as I understand, it can only exist under a computer account, but I don't really get how this is different from supplemental credentials |
||
| } | ||
|
|
||
| ATTRIBUTE_LIST_ENCODE_DECODE_MAP: dict[ | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do you have a resource for the structure you used? All resources I can find on
msDS-ManagedPasswordshow a very different structure, but I'm not sure if that's just the difference between what LDAP would return vs what's stored in the database.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You're absolutely right. I checked and realized my sources were incorrect, so I will make sure to fix it.