Following steps can be used to know the Base DN and Bind DN of a user

Open the command prompt  on winodws2003 AD server and type”dsquery user”

C:\>dsquery user
“CN=Administrator,CN=Users,DC=wad,DC=com”
“CN=Guest,CN=Users,DC=wad,DC=com”
“CN=SUPPORT_388945a0,CN=Users,DC=wad,DC=com”
“CN=krbtgt,CN=Users,DC=wad,DC=com”
“CN=root,CN=Users,DC=wad,DC=com”
“CN=IUSR_WICHEU-TOL55S55,CN=Users,DC=wad,DC=com”
“CN=IWAM_WICHEU-TOL55S55,CN=Users,DC=wad,DC=com”
“CN=vdi1,CN=Users,DC=wad,DC=com”

For a specific user, you can type ”dsquery user -name xxx*”

C:\>dsquery user -name vd*
“CN=vdi1,CN=Users,DC=wad,DC=com”

Advertisements