-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Description
When building the ntds schema index, schema.load will crash if a ClassSchema/attributeSchema has an ATTRTYP 32-bit integer value that could not be mapped to a known OID.
I have patched the
| def _add_attribute( |
| def _add_class(self, dnt: int, id: int, name: str) -> None: |
with the following code
print(f"keyError _add_class({dnt}, {id} ({id & 0xFFFF0000}), {name}) : {e}")
print(f"KEY error : _add_attribute(name={name}, type_oid {type_oid}, id={id} ({id & 0xFFFF0000})) : {e}")
Result in PJ (2k5 lines but 9 uniq missing values) : key_errors.txt
I was then able to find the associated OID for some of them (work in progress).
E.g :
1210253312 (0x48230000)-> 1.2.840.113556.1.4.7000.102
But I'm not sure how the (
| OID_PREFIX = { |
not related to #21, but issue came from the same part of the code.
NTDS is from a 2012 R2 server (not shareable) .
Metadata
Metadata
Assignees
Labels
No labels