Solved

LDAP URL?

Posted on 2010-09-15
6
2,097 Views
Last Modified: 2012-08-13
I opened up my firewall for a company to send LDAP requests, but need to setup my LDAP URL. Since the LDAP URL is setup on their side, I am guessing that I need to do something like the following:

LDAP://ldapserver.domain.com/DC=domain,DC=com

OR

LDAP://x.x.x.x/DC=domain,DC=com

where x.x.x.x is the IP address is assigned form my external IP pool assigned to the LDAP server, since again, this is setup on a company's server needing access across the internet, through my firewall and to my AD server.

My LDAP server is Active Directory. I set this up both ways, but neither is working. Is there an easy way to determine my LDAP URL?
0
Comment
Question by:Greg27
  • 3
  • 3
6 Comments
 
LVL 17

Accepted Solution

by:
Tony Massa earned 500 total points
ID: 33682747
If your DC is a member of the domain you're trying to hit, then it should just be:

LDAP://ip.addr.ess.domain.com

You should use the domain controller name or IP since you're restricting it on your firewall.  So a LDAP query would look like this:

"SELECT * FROM 'LDAP://DC1.domain.com' WHERE objectCategory='user' AND sAMAccountName='jsmith'"

What application is on the other side?  It will have to authenticate before submitting a query.  Anonymous access is not allowed by default?  You can try to use the LDP.exe on the other side of your firewall for testing.

http://java.sun.com/products/jndi/tutorial/ldap/misc/url.html
0
 

Author Comment

by:Greg27
ID: 33684128
I don't have access to their side. I have a web interface where I am just supposed to enter the value. I can then test it to see if it is working. Since they are off-site, I am guessing the IP address would be the external IP address of the LDAP server and not the internal IP address for it?
0
 
LVL 17

Expert Comment

by:Tony Massa
ID: 33684215
Correct, you would then have a static NAT.  If they are using secure LDAP (or LDAPS), then you have to also allow the 636 TCP port, instead of 389
0
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 

Author Comment

by:Greg27
ID: 33733450
How do you setup LDAPS? Would I need to purchase an SSL cert? Where do you set it up?
0
 
LVL 17

Expert Comment

by:Tony Massa
ID: 33734138
If you have a Windows Certificate server, or you can purchase one.
http://support.microsoft.com/kb/321051
0
 

Author Closing Comment

by:Greg27
ID: 33751115
I found out what the URL needs to be. It is actually what I originally put in, but for some reason i must have tried it with an invalid user account, but the URL should be:

http://x.x.x.x/DC=domain,DC=com

Thanks for the help.
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Restoring deleted objects in Active Directory has been a standard feature in Active Directory for many years, yet some admins may not know what is available.
This script can help you clean up your user profile database by comparing profiles to Active Directory users in a particular OU, and removing the profiles that don't match.
This tutorial will show how to push an installation of Backup Exec to an additional server in both 2012 and 2014 versions of the software. Click on the Backup Exec button in the upper left corner. From here, select Installation and Licensing, then I…
This tutorial will walk an individual through locating and launching the BEUtility application to properly change the service account username and\or password in situation where it may be necessary or where the password has been inadvertently change…

911 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now