User Tools

Site Tools


howtos:get_dn_from_a_windows_ad_user

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

howtos:get_dn_from_a_windows_ad_user [d/m/Y H:i] (current)
Line 1: Line 1:
 +====== How to get the AD LDAP DN name from an user ======
  
 +
 +Some times we need to have the full distinguished LDAP name for an Active directory user.
 +
 +There are at least two ways to accomplish this goal:
 +
 +1st) Running the command: dsquery user -name ADUSERNAME ​
 +
 +where ADUSERNAME is the name of the user on the AD
 +
 +2nd) Running the command: ldifde -f users.txt ​
 +
 +where all LDAP data from AD is dumped into the file named users.txt
 +
 +
 +
 +----
 +Source: http://​primalcortex.wordpress.com/​2008/​07/​14/​how-to-get-the-ad-ldap-dn-name-from-an-user/​
howtos/get_dn_from_a_windows_ad_user.txt · Last modified: d/m/Y H:i (external edit)