Wednesday, March 7, 2012

LDAP DN Path to an OU in Active Directory



Q: I need the LDAP DN path to an Organizational Unit in Active Directory where I have objects stored.

A: Try this:
  1. run ldp
  2. click connection / connect 
  3. Server: <hostname of a domain controller> / OK
  4. Click connection / Bind
  5. Leave the default of (X) Bind as currently logged on user selected / OK
  6. Click View / Tree / BaseDN: <leave blank> / OK
  7. Expand the root of the tree
  8. navigate to the OU that contains the objects you need
  9. Right click on that Object in the left pane and select Copy DN
  10. OU=Employees,OU=HQ,DC=mycompany,DC=local

No comments:

Post a Comment