Category:Troubleshooting
Last Updated:2011-08-04
 
Test Connection or Discovery or Sync run fails with an error.
Could Not Connect
Could Not Connect means the server could not be reached. This is generally a physical connectivity/firewall/port issue.
Could Not Authenticate
Invalid Credentials
Bad Username ID / Password
These type of errors means the function has successfully reached the target server, but LDAP authentication to the server has failed. The most common causes of this problem are as follows (generally in this order):
For any Directory Type:
If this is an AD/Exchange 200x directory server:
If this is an Exchange 5.5 directory server:
More troubleshooting tests for any directory type:
Test 1:
From a command prompt on the UnitySync server, execute the following (specify correct IP and port to test):
telnet 1.2.3.4 port
Error: If an error is returned, connectivity to the specified IP/Port is unavailable. This connection must be possible in order for authentication to succeed.
OK: If an empty black screen results, the connection was successfully established.
Test 2:
Below are instructions for performing a simple ldapsearch to verify successful ldap authentication.
If necessary, download an ldapsearch utility from here and copy to the UnitySync server. From a command prompt, execute the following:
(replace parameters -b -h -D -w -p with same values as in use by the problematic connection.)
Ex55 Example:
ldapsearch -b "ou=site,o=organization" -h 1.2.3.4 -D "dc=domain,cn=name" -p 389 -w password "(mail=*)" mail
AD Example:
ldapsearch -b "dc=domain,dc=com" -h 1.2.3.4 -D "name@domain.com" -w password "(mail=*)" mail
Notes Example:
ldapsearch -b "ou=organization,o=org" -h 1.2.3.4 -D "cn=Administrator,o=org" -w password "(mail=*)" mail
If the result is an error you have confirmed a basic inability to query the source directory using the specified port and login.
Test 3:
Obtain a known good Admin login for this source... Try the UnitySync Test Connection and/or the above ldapsearch test using the known good Admin login account.