Jump to content
Xtreme .Net Talk

Active Directory... on what base does LDAP connect to Active Directory


Recommended Posts

Posted

here is my current situation. I develop a program on my computer's localhost. From there i contact Active directory succesfull using a connectionstring like: LDAP://OU=BE,OU=SE,DC=eu,DC=aagp,DC=corp. This works fine. My computer is in and OU under the BE folder, and so is my User. I have no problems connecting to the Active Directory.

 

 

 

But now that my code is finished i want to put it online on one of the company servers. but when i use the connectionstring there it gives an error that "The specified domain either does not exist or could not be contacted".

 

 

 

As i was programming i noticed that i couldn't reach branches of the Active directory that were above my branch... and maybe the problem here could be the same, that the server isn't in a correct place to use the connectionstring. On what base does .NET connect to Active directory using the LDAP-string?

 

When i checked the active directory i saw that the server is under the same branch as my computer i use to develop. My computer is under LDAP://OU=Laptops,OU=BE,OU=SE,DC=eu,DC=aagp,DC=corp and the server is under LDAP://OU=Server,OU=BE,OU=SE,DC=eu,DC=aagp,DC=corp. Seen that my computer can connect from there i don't think it would be a problem for the server since it's under the same branch.... Maybe some kind of user-based error?

 

 

 

If i know on what base LDAP connects with the Active Directory, then maybe i could find out what the problem is...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...