ferronrsmith
ferronrsmith

Reputation: 1110

What is my LDAP Connection String

Are there any tools that tell you what your LDAP connection string is?

Upvotes: 0

Views: 13838

Answers (4)

Corey B
Corey B

Reputation: 15

I ran the following VBScript on the Server.

    Set objSysInfo = CreateObject("ADSystemInfo")
objSysInfo.RefreshSchemaCache
WScript.Echo "User name: " & objSysInfo.UserName

Copy all of the DCs displayed in the dialog box and use that as your LDAP connection string following LDAP://

Upvotes: 1

Kevin LaBranche
Kevin LaBranche

Reputation: 21078

There's a tool called Softerra ldap browser that I used when I was first messing around with ldap on windows.

It connected something like this ldap://domaincontrollername:port/ and used my network credentials.

I also have done a little in .net with it and have had similar strings to connect and also using ldap://DC=domainname and if your domain name is something like here.there then ldap://dc=here,dc=there

Upvotes: 1

Justin Dearing
Justin Dearing

Reputation: 14938

Do you mean what is the name of the LDAP servers for your active directory domain? Then you want to use SRV records. Assuming your active directory base domain is foo.com you want to look up the SRV record of _ldap_tcp.foo.com see this technet article

Upvotes: 0

Ian Jacobs
Ian Jacobs

Reputation: 5501

Are you looking for examples of how to set one up?

http://www.connectionstrings.com/ should help if that's the case.

Upvotes: 0

Related Questions