0

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

2
  • @ferronrsmith Maybe you should edit your question to specify that you want the connection strings for the LDAP servers on your active directory. You ask an important question that would get voted up and have more answers if better asked. Commented Aug 14, 2009 at 20:25
  • @justin nevermind, figured it out myself thanks Commented Aug 14, 2009 at 21:04

4 Answers 4

1

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

Sign up to request clarification or add additional context in comments.

2 Comments

how do i supply the username and password of the ldap server within the connection string
That's a good question. I actually haven't done that in .Net as I was using windows authentication to authenticate me. However, take a look at this article: forums.asp.net/p/1021956/1385081.aspx It has a sample function to authenticate a user.
1

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://

Comments

0

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

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

3 Comments

Assuming @ferronrsmith means An active directory string: connectionstrings.com/active-directory
yes its for AD. I'm trying to import users into a view in sql server, but i don't know the current LDAP settings
like LDAP://YourLDAPServer ?? what am i suppose to add and how can i get this information from AD
0

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

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.