Solved

LDAP URL?

Posted on 2010-09-15
6
2,200 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

 

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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Had a business requirement to store the mobile number in an environmental variable. This is just a quick article on how this was done.
After seeing many questions for JRNL_WRAP_ERROR for replication failure, I thought it would be useful to write this article.
This tutorial will walk an individual through the steps necessary to enable the VMware\Hyper-V licensed feature of Backup Exec 2012. In addition, how to add a VMware server and configure a backup job. The first step is to acquire the necessary licen…
This tutorial will walk an individual through the steps necessary to join and promote the first Windows Server 2012 domain controller into an Active Directory environment running on Windows Server 2008. Determine the location of the FSMO roles by lo…
Suggested Courses

623 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