Wednesday, July 1, 2015

LDAPConnection - CommunicationException: someUrl.domain:389 : ATG

LDAPConnection - CommunicationException: someUrl.domain:389






Solution:

GoTo ==> <ATGDir>\DAS\LDAP\MicrosoftActiveDirectory\config\atg\dynamo\security

InitialContextEnvironment.properties

Edit providerURL=ldap://someUrl.domain:389 to ldap://localhost:389


Example:

# @version $Id: //product/DAS/version/11.1/release/DAS/LDAP/MicrosoftActiveDirectory/config/atg/dynamo/security/InitialContextEnvironment.properties#1 $$Change: 875535 $
$class=atg.adapter.ldap.LDAPJNDIEnvironment

# URL of the LDAP server
providerURL=ldap://localhost:389

# Authentication mechanism for the provider to use. Possible 
# values are:
#   CRAM-MD5 - use the CRAM-MD5 (RFC-2195) SASL mechanism
#   none     - use no authentication (anonymous)
#   simple   - use weak authentication (cleartext password)
securityAuthentication=simple

# The identity of the principal to be authenticated, in form 
# of a distinguished name.
securityPrincipal=RootDN

# The credentials of the principal to be authenticated.
securityCredentials=password





Popular Posts