How to find know the Base DN and Bind DN for Active Directory

When you config the Xendesktop, VMware view or other related to active Directory,you may need to know Base DN and Bind DN.

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”

Find special user, you can type”dsquery user -name xxx*”

C:\>dsquery user -name vd*
“CN=vdi1,CN=Users,DC=wad,DC=com”
Also this command are query group too!

Nhận xét

Bài đăng phổ biến từ blog này

CLEANING UP THE ZABBIX DATABASE

Configuring DHCP Relay service on the FortiGate unit

WAN link load balancing