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:

Active Directory

<ATG9dir>/DAS/LDAP/MicrosoftActiveDirectory/config/atg/dynamo/security

Sun ONE Directory Server

<ATG9dir>/DAS/LDAP/iPlanetDirectory/config/atg/dynamo/security

Property

Description

providerURL

URL of your LDAP server.

Default value: ldap://localhost:389

securityAuthentication

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)

Default value: simple

securityPrincipal

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

Default value: RootDN

securityCredentials

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

Default value: password

 
loading table of contents...