Skip to Content
0
Former Member
Oct 20, 2011 at 08:11 AM

LDAP secure connection failing in EP6

138 Views

Hi All,

We are configuring 2 LDAP in our SAP EP6 environment. We are able to test the connection successfully with the port 389. But when we are trying with the secure port 636 connection is failing.

Below is the error message.

***************************************[EXCEPTION: No connection to the ldap server]#

#1.5 #0003BAB4052C0ADF00000021000054F50004AFB64BCFDF09#1319097397665#com.sap.security.core.persistence#sap.com/tcdtrenterpriseapp#com.sap.security.core.persistence.[cf=com.sap.security.core.persistence.datasource.imp.LDAPPersistence][md=reinitializeConnectionManager][cl=30573]#Guest#0##n/a##0906bfedfaf111e0b6ca0003bab4052c#Thread[Scheduler_com.tssap.dtr.server.deltav.security.um.UserManagerTask\#218_workerThread\#0,1,Scheduler_com.tssap.dtr.server.deltav.security.um.UserManagerTask\#218]##0#0#Error##Java###Initialization of connection manager failed again under SSL: #1#Initialisation of connection pool failed for UACC poolname ngnbspdc01:636_UACC java.naming.factory.initial= com.sun.jndi.ldap.LdapCtxFactory java.naming.security.principal= NORTHERNGAS
gdns-ldap com.sun.jndi.ldap.connect.timeout= 25000 java.naming.ldap.version= 3 connection_pool_name= ngnbspdc01:636_UACC java.naming.provider.url= ldap://ngnbspdc01:636/OU%3DDomain%20Users%2CDC%3DNORTHERNGAS%2CDC%3DLOCAL java.naming.security.protocol= ssl java.naming.ldap.factory.socket= com.sap.security.core.server.https.SecureConnectionFactory java.naming.security.authentication= simple java.naming.security.credentials= ****** [EXCEPTION: No connection to the ldap server]# #1.5 #0003BAB4052C0ADF00000023000054F50004AFB64BCFE1D5#1319097397666#com.sap.security.core.persistence#sap.com/tcdtrenterpriseapp#com.sap.security.core.persistence#Guest#0##n/a##0906bfedfaf111e0b6ca0003bab4052c#Thread[Scheduler_com.tssap.dtr.server.deltav.security.um.UserManagerTask\#218_workerThread\#0,1,Scheduler_com.tssap.dtr.server.deltav.security.um.UserManagerTask\#218]##0#0#Error#1#/System/Security/Usermanagement#Java###Initialization of LDAP connection manager failed again under SSL . This can due to a wrong configuration ## #1.5 #0003BAB4052C0ADF00000025000054F50004AFB64BCFE412#1319097397666#com.sap.security.core.persistence#sap.com/tcdtrenterpriseapp#com.sap.security.core.persistence#Guest#0##n/a##0906bfedfaf111e0b6ca0003bab4052c#Thread[Scheduler_com.tssap.dtr.server.deltav.security.um.UserManagerTask\#218_workerThread\#0,1,Scheduler_com.tssap.dtr.server.deltav.security.um.UserManagerTask\#218]##0#0#Error#1#/System/Security/Usermanagement#Java###DataSource : Data source is not initialized#1#CORP_LDAP2#

#1.5 #0003BAB4052C0ADF00000026000054F50004AFB64BCFEBE3#1319097397667#com.sap.security.core.persistence#sap.com/tcdtrenterpriseapp#com.sap.security.core.persistence.[cf=com.sap.security.core.persistence.imp.PrincipalDatabagFactoryInstance][md=searchPrincipalDatabagsInternal][cl=30573]#Guest#0##n/a##0906bfedfaf111e0b6ca0003bab4052c#Thread[Scheduler_com.tssap.dtr.server.deltav.security.um.UserManagerTask\#218_workerThread\#0,1,Scheduler_com.tssap.dtr.server.deltav.security.um.UserManagerTask\#218]##0#0#Error##Java###CORP_LDAP2 data source CORP_LDAP2 not initialized

[EXCEPTION]

#1#com.sap.security.core.persistence.datasource.PersistenceException: data source CORP_LDAP2 not initialized

at com.sap.security.core.persistence.datasource.imp.LDAPPersistence.doSearchPrincipalDatabags(LDAPPersistence.java:4318)

at com.sap.security.core.persistence.datasource.imp.LDAPPersistence.searchPrincipalDatabags(LDAPPersistence.java:4240)

at com.sap.security.core.persistence.imp.PrincipalDatabagFactoryInstance.searchPrincipalDatabagsInternal(PrincipalDatabagFactoryInstance.java:3811)

at com.sap.security.core.persistence.imp.PrincipalDatabagFactoryInstance.searchPrincipalDatabags(PrincipalDatabagFactoryInstance.java:3324)

at com.sap.security.core.imp.AbstractUserAccount.<init>(AbstractUserAccount.java:334)

at com.sap.security.core.imp.DBTextFileUserAccount.<init>(DBTextFileUserAccount.java:56)

at com.sap.security.core.imp.UserAccountFactory.getUserAccountByLogonId(UserAccountFactory.java:427)

at com.sap.security.core.imp.UserAccountFactory.getUserAccountByLogonId(UserAccountFactory.java:278)

at com.sap.security.core.imp.UserFactory.getUserByLogonID(UserFactory.java:925)

at com.sap.security.core.imp.UserFactory.getUserByLogonID(UserFactory.java:953)

at com.sap.security.core.imp.UserFactory.getUserByLogonID(UserFactory.java:959)

at com.tssap.dtr.server.deltav.security.um.ume40impl.UmePrincipalFactory.findUser(UmePrincipalFactory.java:45)

at com.tssap.dtr.server.deltav.security.um.ume40impl.UserLruBuffer.getBackgroundPrincipal(UserLruBuffer.java:37)

at com.tssap.dtr.server.deltav.security.um.ume40impl.PrincipalLruBuffer.getPrincipal(PrincipalLruBuffer.java:337)

at com.tssap.dtr.server.deltav.security.um.ume40impl.UserManager.retrieveSuperadmin(UserManager.java:213)

at com.tssap.dtr.server.deltav.security.um.AbstractUserManager.initializeSuperAdmin(AbstractUserManager.java:199)

at com.tssap.dtr.server.deltav.security.um.ume40impl.UserManager.initialize(UserManager.java:99)

at com.tssap.dtr.server.deltav.security.um.UserManagerTask._run(UserManagerTask.java:24)

at com.tssap.dtr.pvc.basics.transaction.AbstractSessionBoundTask.run(AbstractSessionBoundTask.java:37)

at com.tssap.dtr.pvc.util.scheduler.Invocation$Worker.run(Invocation.java:130)

at java.lang.Thread.run(Thread.java:534)

#

****************************************************

We have imported the SSL certificate already in the keystorage.

We are able to ping or telnet the LDAP server from portal server with the port 636.

Kindly suggest.

Regards,

Mahesh.N.R