You can use Dynamo’s LDAP server connection tool to test whether the JNDI environment properties in the InitialContextEnvironment
component are configured appropriately for your server.
To test the connection to the LDAP server, do the following:
From the command line, switch to the following directory:
<ATG2007.3dir>/DAS/LDAP/lib
Issue the following command:
For Active Directory:
java -classpath ./ldap.jar LDAPConnection MicrosoftActiveDirectory
For Sun ONE Directory Server:
java -classpath ./ldap.jar LDAPConnection iPlanetDirectory
If Dynamo connects successfully to your LDAP server, it displays the message “Successfully Created Context: javax.naming.directory.InitialDirContext
<context_number>
.”
Troubleshooting the Connection to the Server
If Dynamo does not connect to your LDAP server, it displays one of the following error messages:
Error Message | InitialContextEnvironment Property To Modify |
---|---|
The following Error Occurred: |
|
The following Error Occurred: |
|
Bad Username and/or Password: |
|