0

I need to query AD by attributeID like: urn:oid:2.5.4.42

Instead of friendlyname: "givenname"

How should I query AD by URN:OID?

Thank you!

marc_s
  • 732,580
  • 175
  • 1,330
  • 1,459
wibbleman
  • 3
  • 2

1 Answers1

1

You can just replace the attributeName with its OID in the LDAPFilter like this:

(&(objectCategory=person)(objectClass=user)(2.5.4.42=Oliver))

This would find all user objects with givenName "Oliver"...