You must set up your InitialContextEnvironment component so that it specifies the JNDI environment properties used to connect to the LDAP repository.

Note: You must edit the InitialContextEnvironment.properties file manually instead of through the ATG Control Center.

Set the following values in your InitialContextEnvironment.properties file, which is in the following directory:

Property

Default Value and Description

providerURL

ldap://localhost:389

URL of your LDAP server.

securityAuthentication

simple

Authentication mechanism for the provider to use. Choose one of the following mechanisms:

simple - weak authentication (cleartext password)

CRAM-MD5 - CRAM-MD5 (RFC-2195) SASL mechanism

none - no authentication (anonymous)

securityPrincipal

RootDN

Identity of the principal to be authenticated, in the form of a distinguished name (DN). This identity is the Root DN’s full common name (CN). For information about determining the DN, see your server’s documentation.

Tip: For Active Directory, you can use Active Directory Service Interfaces (ADSI) to determine the full common name. For information about ADSI, see: http://www.microsoft.com/windows2000/techinfo/howitworks/
activedirectory/adsilinks.asp

For example:

For Active Directory:
CN=Administrator,CN=Users,DC=atg,DC=com

For Sun ONE Directory Server:
CN=Directory Manager

securityCredentials

password

Credentials of principal to be authenticated; this is the Root DN’s password.

 
loading table of contents...