Connection string to connect to Active Directory using LDAP

前端 未结 4 1024
不知归路
不知归路 2020-12-17 04:56

my system admin gave me this:

Domain : capp.net USER : capp\\dhr2

Pass : admin@12345

what will the connection string be?

I am very very new t

4条回答
  •  感动是毒
    2020-12-17 05:22

    We have found this to work best to be sure you have the right parameters:

    Often the hard part of connecting to AD using LDAP is Determining the FDN of the user to login with. If you know the samAccountName of the user you can find it using:

    dsquery user -samid jim
    "CN=Jim Willeke,CN=Users,DC=mad,DC=willeke,DC=com"
    

提交回复
热议问题