I 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", 3389);
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: