default port is 389; that may be your only problem.
(if it were ldap over ssl the port is 636 I believe)
Main Topics
Browse All TopicsI need to use LDAP to authenticate against Active Directory 2003. At this point, we are not even sure what port AD is using to accept LDAP queries.
What is the easiest method and utility to use to simply test that we can successfully connect to Active Directory via LDAP?
Currently I'm trying to use Microsoft's LDP.EXE to connect to Active Directory at the port we *think* LDAP is running on, but it just hangs for about 20 minutes at:
ld = ldap_open("ad2.licor.com",
Established connection to ad2.licor.com.
Retrieving base DSA information...
and then says:
Server error: <empty>
Error<82>: ldap_parse_result failed: Local Error
Getting 0 entries:
-----------
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
LDAP should be on port 389
I like using the LDAP browser tool to test connections http://www.ldapadministrat
It's free and works well
By default, you access LDAP via AD by default port of 389.
3389 is used for remote desktop.
You might have been thinking of port 3268, which is for the Global Catalog, as you can see here: http://www.microsoft.com/t
Hey, everybody, I *know* the default port is 389. This was changed by a previous administrator on install to, we believe, 3389 or one of the following:
Port State Service
53/tcp open domain
135/tcp open loc-srv
139/tcp open netbios-ssn
443/tcp open https
445/tcp open microsoft-ds
1025/tcp open NFS-or-IIS
1040/tcp open unknown
1050/tcp open java-or-OTGfileshare
1066/tcp open unknown
1723/tcp open pptp
3028/tcp open unknown
3389/tcp open ms-term-serv
8080/tcp open tomcat5
8400/tcp open unknown
8402/tcp open unknown
10250/tcp open unknown
You can not change LDAP port to port which already in use by another service.
Use Portquery to locate LDAP port:
"How to Use Portqry to Troubleshoot Active Directory Connectivity Issues"
http://support.microsoft.c
Business Accounts
Answer for Membership
by: toniurPosted on 2008-02-11 at 08:56:02ID: 20867862
Hi licorbiosciences,
LDAP port is 389 not 3389.
HTH
Toni