Ldap to XI connectivity

Hello friends
We are having a scenario where we are connecting to an LDAP server from XI .Can anybody help us in this or give us a solution regarding this

HI,
You need to use Java Proxy to communicate with LDAP server.
refer
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/10716e9f-23d7-2a10-8c8c-d2665615f8fc
There is some config within XI (3.0 - SP5 our version).
Run transaction spro > Sap web Application Server > System Administration > Directory Integration > configure LDAP Connector, Define LDAP Users Confgure LDAP Server.
Thanks
Swarup

Similar Messages

  • ADEP LDAP (Active Directory) Connection Failed

    Hi,
    I have a problem with ADEP connecting to our LDAP server.
    Interestingly enough it works only once, but then on the second synchronization it doesn't seem to work and says Failed. Not sure what happens.
    I assume it does this alphabetically, so when I compare users/groups/group memebers starting with 'u' or 'w' in ADEP and LDAP using ADExplorer they are matched prefectly.
    What worries me is if a new user comes in and it can't sync anymore.
    Info:
    I'm running ADEP Document Services on JBoss and MySQL using turnkey installation.
    Notes:
    -This works prefectly fine with Adobe Livecycle on another server using the same LDAP server.
    -I've completely uninstalled and re-installed ADEP for this and still got the same error.
    Any help would be greatly appreciated.
    Log file:
    2012-01-15 06:05:47,782 INFO  [com.adobe.idp.um.businesslogic.synch.SynchronizationManager] (SimpleThreadPoolWorker-3) Synch was completed successfully for the following domains [KFUPM_AD(DONE,2)]
    2012-01-15 06:05:47,782 INFO  [com.adobe.idp.um.businesslogic.synch.SynchronizationManager] (SimpleThreadPoolWorker-3) Directory synchronization completed in 5 hrs 24 mins 17 secs 
    2012-01-15 06:05:47,804 INFO  [com.adobe.idp.um.scheduler.AbstractClusterJob] (SimpleThreadPoolWorker-1) Acquired the lock, proceeding with completing the job.
    2012-01-15 06:05:47,813 INFO  [com.adobe.idp.um.businesslogic.synch.SynchronizationManager] (SimpleThreadPoolWorker-1) Directory synchronization started. Thread name SimpleThreadPoolWorker-1
    2012-01-15 06:05:47,916 INFO  [com.adobe.idp.um.businesslogic.synch.DomainSynchronizer] (SimpleThreadPoolWorker-1) Synchronization started for domain KFUPM_AD
    2012-01-15 06:05:48,225 INFO  [com.adobe.idp.um.businesslogic.synch.DomainSynchronizer] (SimpleThreadPoolWorker-1) ---> Starting User synchronization
    2012-01-15 06:05:48,228 INFO  [com.adobe.idp.um.businesslogic.synch.DomainSynchronizer] (SimpleThreadPoolWorker-1) Starting Users synch from KFUPM_AD
    2012-01-15 06:06:22,957 WARN  [com.adobe.idp.um.businesslogic.synch.LdapHelper] (SimpleThreadPoolWorker-1) Record [CN=Paul Graeme Brown,OU=kfupm,DC=itc,DC=kfupm,DC=edu,DC=sa] is missing required attribute userid [sAMAccountName]
    2012-01-15 06:06:23,334 WARN  [org.hibernate.util.JDBCExceptionReporter] (UM Synch thread) SQL Error: 1062, SQLState: 23000
    2012-01-15 06:06:23,334 ERROR [org.hibernate.util.JDBCExceptionReporter] (UM Synch thread) Duplicate entry 'ali-4C787461-20AC-102F-BEB2-00000A8C088A' for key 'UIDINDEX'
    2012-01-15 06:06:23,335 ERROR [org.jboss.ejb.plugins.LogInterceptor] (UM Synch thread) RuntimeException in method: public abstract java.util.List com.adobe.idp.um.businesslogic.synch.dao.SynchronizationDAO.batchPersistPrincipals(com.ad obe.idp.um.entity.PrincipalDomainEntity,java.util.List,com.adobe.idp.um.entity.PrincipalEn tity$PrincipalType,boolean,com.adobe.idp.um.businesslogic.synch.SynchronizationContext):
    org.hibernate.exception.ConstraintViolationException: could not execute update query
              at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:71)
              at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:43)
              at org.hibernate.hql.ast.exec.BasicExecutor.execute(BasicExecutor.java:84)
              at org.hibernate.hql.ast.QueryTranslatorImpl.executeUpdate(QueryTranslatorImpl.java:396)
              at org.hibernate.engine.query.HQLQueryPlan.performExecuteUpdate(HQLQueryPlan.java:259)
              at org.hibernate.impl.SessionImpl.executeUpdate(SessionImpl.java:1141)
              at org.hibernate.impl.QueryImpl.executeUpdate(QueryImpl.java:94)
              at com.adobe.idp.um.businesslogic.synch.hibernate.HibernateSynchronizationDao.batchPersistPr incipals(HibernateSynchronizationDao.java:338)
              at sun.reflect.GeneratedMethodAccessor1159.invoke(Unknown Source)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
              at java.lang.reflect.Method.invoke(Method.java:597)
              at org.jboss.invocation.Invocation.performCall(Invocation.java:386)
              at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionConta iner.java:233)
              at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionI nterceptor.java:156)
              at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstance Interceptor.java:173)
              at org.jboss.ejb.plugins.CallValidationInterceptor.invoke(CallValidationInterceptor.java:63)
              at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:121)
              at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:404)
              at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:181)
              at org.jboss.ejb.plugins.SecurityInterceptor.process(SecurityInterceptor.java:228)
              at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:211)
              at org.jboss.ejb.plugins.security.PreSecurityInterceptor.process(PreSecurityInterceptor.java :97)
              at org.jboss.ejb.plugins.security.PreSecurityInterceptor.invoke(PreSecurityInterceptor.java: 81)
              at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:205)
              at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor. java:138)
              at org.jboss.ejb.SessionContainer.internalInvoke(SessionContainer.java:650)
              at org.jboss.ejb.Container.invoke(Container.java:1092)
              at org.jboss.ejb.plugins.local.BaseLocalProxyFactory.invoke(BaseLocalProxyFactory.java:436)
              at org.jboss.ejb.plugins.local.StatelessSessionProxy.invoke(StatelessSessionProxy.java:103)
              at $Proxy522.batchPersistPrincipals(Unknown Source)
              at com.adobe.idp.um.businesslogic.synch.hibernate.HibernateSynchronizationDao.persistPrincip als(HibernateSynchronizationDao.java:202)
              at sun.reflect.GeneratedMethodAccessor1160.invoke(Unknown Source)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
              at java.lang.reflect.Method.invoke(Method.java:597)
              at org.jboss.invocation.Invocation.performCall(Invocation.java:386)
              at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionConta iner.java:233)
              at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionI nterceptor.java:156)
              at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstance Interceptor.java:173)
              at org.jboss.ejb.plugins.CallValidationInterceptor.invoke(CallValidationInterceptor.java:63)
              at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:121)
              at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:350)
              at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:181)
              at org.jboss.ejb.plugins.SecurityInterceptor.process(SecurityInterceptor.java:228)
              at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:211)
              at org.jboss.ejb.plugins.security.PreSecurityInterceptor.process(PreSecurityInterceptor.java :97)
              at org.jboss.ejb.plugins.security.PreSecurityInterceptor.invoke(PreSecurityInterceptor.java: 81)
              at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:205)
              at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor. java:138)
              at org.jboss.ejb.SessionContainer.internalInvoke(SessionContainer.java:650)
              at org.jboss.ejb.Container.invoke(Container.java:1092)
              at org.jboss.ejb.plugins.local.BaseLocalProxyFactory.invoke(BaseLocalProxyFactory.java:436)
              at org.jboss.ejb.plugins.local.StatelessSessionProxy.invoke(StatelessSessionProxy.java:103)
              at $Proxy522.persistPrincipals(Unknown Source)
              at com.adobe.idp.um.businesslogic.synch.DirectoryPersister.batchPersist(DirectoryPersister.j ava:134)
              at com.adobe.idp.um.businesslogic.synch.DirectoryPersister.run(DirectoryPersister.java:98)
              at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
              at java.lang.Thread.run(Thread.java:662)
    Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry 'ali-4C787461-20AC-102F-BEB2-00000A8C088A' for key 'UIDINDEX'
              at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
              at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java: 39)
              at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorIm pl.java:27)
              at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
              at com.mysql.jdbc.Util.handleNewInstance(Util.java:407)
              at com.mysql.jdbc.Util.getInstance(Util.java:382)
              at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1039)
              at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3593)
              at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3525)
              at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1986)
              at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2140)
              at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2626)
              at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2111)
              at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2407)
              at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2325)
              at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2310)
              at org.jboss.resource.adapter.jdbc.CachedPreparedStatement.executeUpdate(CachedPreparedState ment.java:96)
              at org.jboss.resource.adapter.jdbc.WrappedPreparedStatement.executeUpdate(WrappedPreparedSta tement.java:365)
              at org.hibernate.hql.ast.exec.BasicExecutor.execute(BasicExecutor.java:75)
              ... 55 more
    2012-01-15 06:06:23,373 WARN  [org.hibernate.util.JDBCExceptionReporter] (UM Synch thread) SQL Error: 1062, SQLState: 23000
    2012-01-15 06:06:23,373 ERROR [org.hibernate.util.JDBCExceptionReporter] (UM Synch thread) Duplicate entry 'ali-4C787461-20AC-102F-BEB2-00000A8C088A' for key 'UIDINDEX'
    2012-01-15 06:06:23,373 ERROR [org.jboss.ejb.plugins.LogInterceptor] (UM Synch thread) RuntimeException in method: public abstract java.util.List com.adobe.idp.um.businesslogic.synch.dao.SynchronizationDAO.batchPersistPrincipals(com.ad obe.idp.um.entity.PrincipalDomainEntity,java.util.List,com.adobe.idp.um.entity.PrincipalEn tity$PrincipalType,boolean,com.adobe.idp.um.businesslogic.synch.SynchronizationContext):
    org.hibernate.exception.ConstraintViolationException: could not execute update query
              at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:71)
              at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:43)
              at org.hibernate.hql.ast.exec.BasicExecutor.execute(BasicExecutor.java:84)
              at org.hibernate.hql.ast.QueryTranslatorImpl.executeUpdate(QueryTranslatorImpl.java:396)
              at org.hibernate.engine.query.HQLQueryPlan.performExecuteUpdate(HQLQueryPlan.java:259)
              at org.hibernate.impl.SessionImpl.executeUpdate(SessionImpl.java:1141)
              at org.hibernate.impl.QueryImpl.executeUpdate(QueryImpl.java:94)
              at com.adobe.idp.um.businesslogic.synch.hibernate.HibernateSynchronizationDao.batchPersistPr incipals(HibernateSynchronizationDao.java:338)
              at sun.reflect.GeneratedMethodAccessor1159.invoke(Unknown Source)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
              at java.lang.reflect.Method.invoke(Method.java:597)
              at org.jboss.invocation.Invocation.performCall(Invocation.java:386)
              at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionConta iner.java:233)
              at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionI nterceptor.java:156)
              at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstance Interceptor.java:173)
              at org.jboss.ejb.plugins.CallValidationInterceptor.invoke(CallValidationInterceptor.java:63)
              at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:121)
              at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:404)
              at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:181)
              at org.jboss.ejb.plugins.SecurityInterceptor.process(SecurityInterceptor.java:228)
              at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:211)
              at org.jboss.ejb.plugins.security.PreSecurityInterceptor.process(PreSecurityInterceptor.java :97)
              at org.jboss.ejb.plugins.security.PreSecurityInterceptor.invoke(PreSecurityInterceptor.java: 81)
              at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:205)
              at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor. java:138)
              at org.jboss.ejb.SessionContainer.internalInvoke(SessionContainer.java:650)
              at org.jboss.ejb.Container.invoke(Container.java:1092)
              at org.jboss.ejb.plugins.local.BaseLocalProxyFactory.invoke(BaseLocalProxyFactory.java:436)
              at org.jboss.ejb.plugins.local.StatelessSessionProxy.invoke(StatelessSessionProxy.java:103)
              at $Proxy522.batchPersistPrincipals(Unknown Source)
              at com.adobe.idp.um.businesslogic.synch.hibernate.HibernateSynchronizationDao.persistPrincip als(HibernateSynchronizationDao.java:215)
              at sun.reflect.GeneratedMethodAccessor1160.invoke(Unknown Source)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
              at java.lang.reflect.Method.invoke(Method.java:597)
              at org.jboss.invocation.Invocation.performCall(Invocation.java:386)
              at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionConta iner.java:233)
              at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionI nterceptor.java:156)
              at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstance Interceptor.java:173)
              at org.jboss.ejb.plugins.CallValidationInterceptor.invoke(CallValidationInterceptor.java:63)
              at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:121)
              at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:350)
              at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:181)
              at org.jboss.ejb.plugins.SecurityInterceptor.process(SecurityInterceptor.java:228)
              at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:211)
              at org.jboss.ejb.plugins.security.PreSecurityInterceptor.process(PreSecurityInterceptor.java :97)
              at org.jboss.ejb.plugins.security.PreSecurityInterceptor.invoke(PreSecurityInterceptor.java: 81)
              at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:205)
              at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor. java:138)
              at org.jboss.ejb.SessionContainer.internalInvoke(SessionContainer.java:650)
              at org.jboss.ejb.Container.invoke(Container.java:1092)
              at org.jboss.ejb.plugins.local.BaseLocalProxyFactory.invoke(BaseLocalProxyFactory.java:436)
              at org.jboss.ejb.plugins.local.StatelessSessionProxy.invoke(StatelessSessionProxy.java:103)
              at $Proxy522.persistPrincipals(Unknown Source)
              at com.adobe.idp.um.businesslogic.synch.DirectoryPersister.batchPersist(DirectoryPersister.j ava:134)
              at com.adobe.idp.um.businesslogic.synch.DirectoryPersister.run(DirectoryPersister.java:98)
              at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
              at java.lang.Thread.run(Thread.java:662)
    Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry 'ali-4C787461-20AC-102F-BEB2-00000A8C088A' for key 'UIDINDEX'
              at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
              at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java: 39)
              at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorIm pl.java:27)
              at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
              at com.mysql.jdbc.Util.handleNewInstance(Util.java:407)
              at com.mysql.jdbc.Util.getInstance(Util.java:382)
              at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1039)
              at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3593)
              at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3525)
              at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1986)
              at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2140)
              at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2626)
              at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2111)
              at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2407)
              at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2325)
              at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2310)
              at org.jboss.resource.adapter.jdbc.CachedPreparedStatement.executeUpdate(CachedPreparedState ment.java:96)
              at org.jboss.resource.adapter.jdbc.WrappedPreparedStatement.executeUpdate(WrappedPreparedSta tement.java:365)
              at org.hibernate.hql.ast.exec.BasicExecutor.execute(BasicExecutor.java:75)
              ... 55 more
    2012-01-15 06:06:23,375 ERROR [org.jboss.ejb.plugins.LogInterceptor] (UM Synch thread) EJBException in method: public abstract java.util.List com.adobe.idp.um.businesslogic.synch.dao.SynchronizationDAO.persistPrincipals(com.adobe.i dp.um.entity.PrincipalDomainEntity,java.util.List,com.adobe.idp.um.entity.PrincipalEntity$ PrincipalType,com.adobe.idp.um.businesslogic.synch.SynchronizationContext), causedBy:
    org.hibernate.exception.ConstraintViolationException: could not execute update query
              at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:71)
              at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:43)
              at org.hibernate.hql.ast.exec.BasicExecutor.execute(BasicExecutor.java:84)
              at org.hibernate.hql.ast.QueryTranslatorImpl.executeUpdate(QueryTranslatorImpl.java:396)
              at org.hibernate.engine.query.HQLQueryPlan.performExecuteUpdate(HQLQueryPlan.java:259)
              at org.hibernate.impl.SessionImpl.executeUpdate(SessionImpl.java:1141)
              at org.hibernate.impl.QueryImpl.executeUpdate(QueryImpl.java:94)
              at com.adobe.idp.um.businesslogic.synch.hibernate.HibernateSynchronizationDao.batchPersistPr incipals(HibernateSynchronizationDao.java:338)
              at sun.reflect.GeneratedMethodAccessor1159.invoke(Unknown Source)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
              at java.lang.reflect.Method.invoke(Method.java:597)
              at org.jboss.invocation.Invocation.performCall(Invocation.java:386)
              at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionConta iner.java:233)
              at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionI nterceptor.java:156)
              at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstance Interceptor.java:173)
              at org.jboss.ejb.plugins.CallValidationInterceptor.invoke(CallValidationInterceptor.java:63)
              at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:121)
              at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:404)
              at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:181)
              at org.jboss.ejb.plugins.SecurityInterceptor.process(SecurityInterceptor.java:228)
              at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:211)
              at org.jboss.ejb.plugins.security.PreSecurityInterceptor.process(PreSecurityInterceptor.java :97)
              at org.jboss.ejb.plugins.security.PreSecurityInterceptor.invoke(PreSecurityInterceptor.java: 81)
              at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:205)
              at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor. java:138)
              at org.jboss.ejb.SessionContainer.internalInvoke(SessionContainer.java:650)
              at org.jboss.ejb.Container.invoke(Container.java:1092)
              at org.jboss.ejb.plugins.local.BaseLocalProxyFactory.invoke(BaseLocalProxyFactory.java:436)
              at org.jboss.ejb.plugins.local.StatelessSessionProxy.invoke(StatelessSessionProxy.java:103)
              at $Proxy522.batchPersistPrincipals(Unknown Source)
              at com.adobe.idp.um.businesslogic.synch.hibernate.HibernateSynchronizationDao.persistPrincip als(HibernateSynchronizationDao.java:215)
              at sun.reflect.GeneratedMethodAccessor1160.invoke(Unknown Source)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
              at java.lang.reflect.Method.invoke(Method.java:597)
              at org.jboss.invocation.Invocation.performCall(Invocation.java:386)
              at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionConta iner.java:233)
              at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionI nterceptor.java:156)
              at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstance Interceptor.java:173)
              at org.jboss.ejb.plugins.CallValidationInterceptor.invoke(CallValidationInterceptor.java:63)
              at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:121)
              at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:350)
              at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:181)
              at org.jboss.ejb.plugins.SecurityInterceptor.process(SecurityInterceptor.java:228)
              at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:211)
              at org.jboss.ejb.plugins.security.PreSecurityInterceptor.process(PreSecurityInterceptor.java :97)
              at org.jboss.ejb.plugins.security.PreSecurityInterceptor.invoke(PreSecurityInterceptor.java: 81)
              at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:205)
              at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor. java:138)
              at org.jboss.ejb.SessionContainer.internalInvoke(SessionContainer.java:650)
              at org.jboss.ejb.Container.invoke(Container.java:1092)
              at org.jboss.ejb.plugins.local.BaseLocalProxyFactory.invoke(BaseLocalProxyFactory.java:436)
              at org.jboss.ejb.plugins.local.StatelessSessionProxy.invoke(StatelessSessionProxy.java:103)
              at $Proxy522.persistPrincipals(Unknown Source)
              at com.adobe.idp.um.businesslogic.synch.DirectoryPersister.batchPersist(DirectoryPersister.j ava:134)
              at com.adobe.idp.um.businesslogic.synch.DirectoryPersister.run(DirectoryPersister.java:98)
              at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
              at java.lang.Thread.run(Thread.java:662)
    Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry 'ali-4C787461-20AC-102F-BEB2-00000A8C088A' for key 'UIDINDEX'
              at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
              at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java: 39)
              at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorIm pl.java:27)
              at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
              at com.mysql.jdbc.Util.handleNewInstance(Util.java:407)
              at com.mysql.jdbc.Util.getInstance(Util.java:382)
              at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1039)
              at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3593)
              at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3525)
              at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1986)
              at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2140)
              at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2626)
              at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2111)
              at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2407)
              at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2325)
              at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2310)
              at org.jboss.resource.adapter.jdbc.CachedPreparedStatement.executeUpdate(CachedPreparedState ment.java:96)
              at org.jboss.resource.adapter.jdbc.WrappedPreparedStatement.executeUpdate(WrappedPreparedSta tement.java:365)
              at org.hibernate.hql.ast.exec.BasicExecutor.execute(BasicExecutor.java:75)
              ... 55 more
    2012-01-15 06:06:23,434 WARN  [com.adobe.idp.um.businesslogic.synch.SynchronizationManager] (SimpleThreadPoolWorker-1) Error occured in read User/Group phase for domain KFUPM_AD(STARTED,3) hence this domain would not be include for later phases
    com.adobe.idp.um.businesslogic.synch.SynchronizationFailureException: Error occured while performing synchronization
              at com.adobe.idp.um.businesslogic.synch.DomainSynchronizer.synchronizeUserAndGroups(DomainSy nchronizer.java:142)
              at com.adobe.idp.um.businesslogic.synch.SynchronizationManager.synchronizeUsersAndGroups(Syn chronizationManager.java:351)
              at com.adobe.idp.um.businesslogic.synch.SynchronizationManager.synchronizeDomains(Synchroniz ationManager.java:224)
              at com.adobe.idp.um.businesslogic.synch.SynchronizationManager.synchronizeAllDomains(Synchro nizationManager.java:125)
              at com.adobe.idp.um.scheduler.DirectorySyncJob.executeJob(DirectorySyncJob.java:82)
              at com.adobe.idp.um.scheduler.AbstractClusterJob.execute(AbstractClusterJob.java:82)
              at org.quartz.core.JobRunShell.run(JobRunShell.java:203)
              at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520)
    Caused by: com.adobe.idp.um.businesslogic.synch.SynchronizationFailureException: A fatal error has ocurred. Synchronization has been aborted.
              at com.adobe.idp.um.businesslogic.synch.DirectoryPersister.handleFatalError(DirectoryPersist er.java:247)
              at com.adobe.idp.um.businesslogic.synch.DirectoryPersister.run(DirectoryPersister.java:104)
              at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
              at java.lang.Thread.run(Thread.java:662)
    Caused by: javax.ejb.EJBException: RuntimeException
              at org.jboss.ejb.plugins.LogInterceptor.handleException(LogInterceptor.java:417)
              at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:209)
              at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor. java:138)
              at org.jboss.ejb.SessionContainer.internalInvoke(SessionContainer.java:650)
              at org.jboss.ejb.Container.invoke(Container.java:1092)
              at org.jboss.ejb.plugins.local.BaseLocalProxyFactory.invoke(BaseLocalProxyFactory.java:436)
              at org.jboss.ejb.plugins.local.StatelessSessionProxy.invoke(StatelessSessionProxy.java:103)
              at $Proxy522.batchPersistPrincipals(Unknown Source)
              at com.adobe.idp.um.businesslogic.synch.hibernate.HibernateSynchronizationDao.persistPrincip als(HibernateSynchronizationDao.java:215)
              at sun.reflect.GeneratedMethodAccessor1160.invoke(Unknown Source)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
              at java.lang.reflect.Method.invoke(Method.java:597)
              at org.jboss.invocation.Invocation.performCall(Invocation.java:386)
              at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionConta iner.java:233)
              at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionI nterceptor.java:156)
              at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstance Interceptor.java:173)
              at org.jboss.ejb.plugins.CallValidationInterceptor.invoke(CallValidationInterceptor.java:63)
              at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:121)
              at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:350)
              at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:181)
              at org.jboss.ejb.plugins.SecurityInterceptor.process(SecurityInterceptor.java:228)
              at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:211)
              at org.jboss.ejb.plugins.security.PreSecurityInterceptor.process(PreSecurityInterceptor.java :97)
              at org.jboss.ejb.plugins.security.PreSecurityInterceptor.invoke(PreSecurityInterceptor.java: 81)
              at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:205)
              at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor. java:138)
              at org.jboss.ejb.SessionContainer.internalInvoke(SessionContainer.java:650)
              at org.jboss.ejb.Container.invoke(Container.java:1092)
              at org.jboss.ejb.plugins.local.BaseLocalProxyFactory.invoke(BaseLocalProxyFactory.java:436)
              at org.jboss.ejb.plugins.local.StatelessSessionProxy.invoke(StatelessSessionProxy.java:103)
              at $Proxy522.persistPrincipals(Unknown Source)
              at com.adobe.idp.um.businesslogic.synch.DirectoryPersister.batchPersist(DirectoryPersister.j ava:134)
              at com.adobe.idp.um.businesslogic.synch.DirectoryPersister.run(DirectoryPersister.java:98)
              ... 3 more
    Caused by: org.hibernate.exception.ConstraintViolationException: could not execute update query
              at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:71)
              at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:43)
              at org.hibernate.hql.ast.exec.BasicExecutor.execute(BasicExecutor.java:84)
              at org.hibernate.hql.ast.QueryTranslatorImpl.executeUpdate(QueryTranslatorImpl.java:396)
              at org.hibernate.engine.query.HQLQueryPlan.performExecuteUpdate(HQLQueryPlan.java:259)
              at org.hibernate.impl.SessionImpl.executeUpdate(SessionImpl.java:1141)
              at org.hibernate.impl.QueryImpl.executeUpdate(QueryImpl.java:94)
              at com.adobe.idp.um.businesslogic.synch.hibernate.HibernateSynchronizationDao.batchPersistPr incipals(HibernateSynchronizationDao.java:338)
              at sun.reflect.GeneratedMethodAccessor1159.invoke(Unknown Source)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
              at java.lang.reflect.Method.invoke(Method.java:597)
              at org.jboss.invocation.Invocation.performCall(Invocation.java:386)
              at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionConta iner.java:233)
              at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionI nterceptor.java:156)
              at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstance Interceptor.java:173)
              at org.jboss.ejb.plugins.CallValidationInterceptor.invoke(CallValidationInterceptor.java:63)
              at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:121)
              at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:404)
              at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:181)
              at org.jboss.ejb.plugins.SecurityInterceptor.process(SecurityInterceptor.java:228)
              at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:211)
              at org.jboss.ejb.plugins.security.PreSecurityInterceptor.process(PreSecurityInterceptor.java :97)
              at org.jboss.ejb.plugins.security.PreSecurityInterceptor.invoke(PreSecurityInterceptor.java: 81)
              at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:205)
              ... 34 more
    Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry 'ali-4C787461-20AC-102F-BEB2-00000A8C088A' for key 'UIDINDEX'
              at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
              at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java: 39)
              at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorIm pl.java:27)
              at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
              at com.mysql.jdbc.Util.handleNewInstance(Util.java:407)
              at com.mysql.jdbc.Util.getInstance(Util.java:382)
              at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1039)
              at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3593)
              at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3525)
              at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1986)
              at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2140)
              at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2626)
              at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2111)
              at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2407)
              at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2325)
              at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2310)
              at org.jboss.resource.adapter.jdbc.CachedPreparedStatement.executeUpdate(CachedPreparedState ment.java:96)
              at org.jboss.resource.adapter.jdbc.WrappedPreparedStatement.executeUpdate(WrappedPreparedSta tement.java:365)
              at org.hibernate.hql.ast.exec.BasicExecutor.execute(BasicExecutor.java:75)
              ... 55 more
    2012-01-15 06:06:23,440 INFO  [com.adobe.idp.um.businesslogic.synch.SynchronizationManager] (SimpleThreadPoolWorker-1) Synch was NOT successfull for the following domains [KFUPM_AD(STARTED,3)]
    2012-01-15 06:06:23,440 INFO  [com.adobe.idp.um.businesslogic.synch.SynchronizationManager] (SimpleThreadPoolWorker-1) Directory synchronization completed in 35 secs 

    Ok, I had two servers querying LDAP with same username and password and I thought that may have been the problem, but after disabling JBoss service on one and completely uninstalling and re-installing the other, I still get the same problem as above.
    Baffling!!

  • LDAP - Free unused Connections

    Hi,
    I am very new to work with Active Directory. I have got a PL/SQL script from net to communicate with LDAP and it is working fine.
    My task is to check the user names against the LDAP.
    But am getting "DBMS_LDAP: Cannot open more than 63 LDAP connections" error.
    I have gone through so many sites to resolve this issue. Everyone is suggesting to close the connection after the executing the script.
    I already have a closing statement in my script.
    "l_retval := DBMS_LDAP.unbind_s(l_session); "
    Please help me to resolve this issue.
    Thanks,
    Rajesh.B

    Here is the script.
    create or replace
    FUNCTION GET_LDAP_STATUS 
    (acct in varchar2)
    RETURN number AS
    BEGIN
    DECLARE
      -- Adjust as necessary.
      output PLS_INTEGER;
      l_ldap_host VARCHAR2(256) := ;
      l_ldap_port VARCHAR2(256) := ;
      l_ldap_user VARCHAR2(256) := ;
      l_ldap_passwd VARCHAR2(256) := ;
      l_ldap_base VARCHAR2(256) :=;
      l_retval       PLS_INTEGER;
      l_session      DBMS_LDAP.session;
      l_attrs        DBMS_LDAP.string_collection;
      l_message      DBMS_LDAP.message;
      l_entry        DBMS_LDAP.message;
      l_attr_name    VARCHAR2(256);
      l_ber_element  DBMS_LDAP.ber_element;
      l_vals         DBMS_LDAP.string_collection;
    BEGIN
      -- Choose to raise exceptions.
      DBMS_LDAP.USE_EXCEPTION := TRUE;
      -- Connect to the LDAP server.
      l_session := DBMS_LDAP.init(hostname => l_ldap_host,
                                  portnum  => l_ldap_port);
      l_retval := DBMS_LDAP.simple_bind_s(ld     => l_session,
                                          dn     => l_ldap_user,
                                          passwd => l_ldap_passwd);
      -- Get all attributes
      l_attrs(1) := 'sAMAccountName'; -- retrieve all attributes
      l_retval := DBMS_LDAP.search_s(ld       => l_session,
                                     base     => l_ldap_base,
                                     scope    => DBMS_LDAP.SCOPE_SUBTREE,
                                     filter   => 'sAMAccountName='||acct,
                                     attrs    => l_attrs,
                                     attronly => 0,
                                     res      => l_message);
      IF DBMS_LDAP.count_entries(ld => l_session, msg => l_message) > 0 THEN
        -- Get all the entries returned by our search.
        l_entry := DBMS_LDAP.first_entry(ld  => l_session,
                                         msg => l_message);
        << entry_loop >>
        WHILE l_entry IS NOT NULL LOOP
          -- Get all the attributes for this entry.
          DBMS_OUTPUT.PUT_LINE('---------------------------------------');
          l_attr_name := DBMS_LDAP.first_attribute(ld        => l_session,
                                                   ldapentry => l_entry,
                                                   ber_elem  => l_ber_element);
          << attributes_loop >>
          WHILE l_attr_name IS NOT NULL LOOP
            -- Get all the values for this attribute.
            l_vals := DBMS_LDAP.get_values (ld        => l_session,
                                            ldapentry => l_entry,
                                            attr      => l_attr_name);
            << values_loop >>
            FOR i IN l_vals.FIRST .. l_vals.LAST LOOP
              DBMS_OUTPUT.PUT_LINE('ATTIBUTE_NAME: ' || l_attr_name || ' = ' || SUBSTR(l_vals(i),1,200));
              l_retval := l_retval+1;
            END LOOP values_loop;
            l_attr_name := DBMS_LDAP.next_attribute(ld        => l_session,
                                                    ldapentry => l_entry,
                                                    ber_elem  => l_ber_element);
          END LOOP attibutes_loop;
          l_entry := DBMS_LDAP.next_entry(ld  => l_session,
                                          msg => l_entry);
        END LOOP entry_loop;   
      END IF;
      -- Disconnect from the LDAP server. 
      DBMS_OUTPUT.PUT_LINE('L_RETVAL: ' || l_retval);
      return l_retval;
      l_retval := DBMS_LDAP.unbind_s(l_session); 
    END;
    END GET_LDAP_STATUS;Edited by: BluShadow on 05-Jan-2012 14:15
    added {noformat}{noformat} tags for readability of the code. Please read: {message:id=9360002} and learn to do this yourself.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Error : LDAP Server down connecting OID

    Hi friends,
    I have installed Infrastructure 10g, When I try to connect to OID it says LDAP server is downand not running.
    Earlier, I added one server with name as my system name and it worked and today it is not working. I want to know Where this LDAP server is and hw we can start it.

    Hi friends,
    I have installed Infrastructure 10g, When I try to connect to OID it says LDAP server is downand not running.
    Earlier, I added one server with name as my system name and it worked and today it is not working. I want to know Where this LDAP server is and hw we can start it.

  • LDAP can't connect

    Hello,
    I'm having issues connecting to an LDAP server.  Others at my office are fine, but mine always fails.  I'm running Outlook 2011 for Mac and have also tried this with the contacts app in OSX - neither work.  OL will just pull up nothing and contacts says no entries.  I've also tried this with the directory utility, but it says connection failed.
    Anyone else have issues?  i've tried going into HDD>Library>Preferences>DirectoryService and there are no files there.  There is a file for LDAPv3 under OpenDirectory, but it says i don't have permission to access.
    any ideas?
    I've copied exactly the settings from colleagues to no avail.  TIA.

    If you are using 4.0.12 or later, please try the following magnus.conf directive:
    LDAPPoolRevalidate true

  • LDAP keep-alive connection ? (use of ldap_io_fns)

    Hi there,
    I am facing a new req. from network security guys that want to close 'idle' connections that crosses firewalls. But as I do use persistent search connection which are not very 'busy' => i.e. not enough traffic to be kept open by FireWall rule.
    Consequence my client could not 'detect' this cut of connection and do not receive any more the 'updates' through persistent search.
    I am now trying to init my connection setting optional io_fns structure changing the socket func by my socket func that do create a keep-alive socket.
    But it does not bind properly ... Init seem ok but bind never get out. LDAP receives bind and do log it but seem not able to respond properly ...
    Any idea on how to use this io_fns struct ?
    Many thanks.
    Hedi.
    .

    the problem is not that process is in foreground or background: the problem is the timeout: I need to avoid timeout, because the idea is to launch the report and then go out for lunch So I need to find a way in the code to advise the system that user has not to be logged out.
    Thanks
    Gabriele

  • LDAPS Fail to connect

    Stumped, please help;
    Worked on Friday, Monday it doesn't work, no changes over the weekend that I can find.
    2008 domain, 2008R2 DC's
    The certificate is not expired
    The port is open
    LDAP works with no issues
    I have deleted the certificate, and had a new one issued from the domain CA, still doesn't work.
    The certificate path shows ok, but could it be something with the Microsoft CA? Or the
    Domain Controller Authentication Template?
    LDP.EXE returns this;
    0x0 = ldap_unbind(ld);
    ld = ldap_sslinit("SERVERNAME_FQDN_HERE", 636, 1);
    Error 0 = ldap_set_option(hLdap, LDAP_OPT_PROTOCOL_VERSION, 3);
    Error 81 = ldap_connect(hLdap, NULL);
    Server error: <empty>
    Error <0x51>: Fail to connect to SERVERNAME_FQDN_HERE.
    BlankMonkey
    UPDATE:
    I used this link (http://support.microsoft.com/kb/321051) to get a certificate request from an InCommon CA.  I had trouble adding it, but did get it into the proper place (I think).  No change,
    it did not help.

    Hi BlankMonkey,
    Could you offer us more information about your environment, the Error 81 and 0x51 typically caused by certificate issue, such as private key missing, please try to export
    the key then reimport.
    More information:
    How to enable LDAP over SSL with a third-party certification authority
    http://support.microsoft.com/kb/321051
    I’m glad to be of help to you!
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • LDAP max simultaneous connections

    Hi,
    I've got an Ironport C600 6.5.3-007
    I set up one LDAP server profile with a maximum number of simultaneous connections of 50.
    When I run a netstat command in CLI it appears to have 150 LDAP connexions established to the server.
    Do you have any idea on why it doesn't display only 50?
    Thank you
    Arnaud

    I think I've got my answer, actually 3 out of 4 Ironport were still with the version 6.5.0. The one which is in 6.5.3 displays 52 connections.
    Here is what I found in the release Note for the 6.5.3 update
    Fixed: LDAP Connections Greatly Exceed the Maximum Specified in the LDAP Server Profile
    Previously, LDAP connections greatly exceeded the maximum specified in the LDAP server
    profile. For example, if you set the maximum LDAP connection to 10, then the system would
    open 30 connections: 10 for the IronPort Spam Quarantine, 10 for the end-user quarantine,
    and 10 for the end-user quarantine UI. The fix reduced end-user quarantine and end-user
    quarantine UI connections to one each. Now, for example, if you set the maximum LDAP
    connection to 10, then the system opens only 12 connections: 10 for the IronPort Spam
    Quarantine, 1 for the end-user quarantine, and 1 for the end-user quarantine UI. Or if
    external authentication is enabled, then the system opens 22 connections: 10 for external

  • Ldap data server connection

    Hi ,
    I am new to oracle data integrator. I have been trying to connect to the active directory using the ldap data server. I am facing problems with the various parameters that are needed to connect to the LDAP using the JNDI connection.
    Could anyone help me out with some example of the various fields that are to be filled for using the users within the ldap.
    Screenshots will be really helpful.
    Thanks & regards,
    Nikhil

    Hi,
    I am getting the following error related to the JNDI Initial context
    java.sql.SQLException: Cannot create JNDI InitialContext!
    at com.sunopsis.sql.SnpsConnection.a(SnpsConnection.java)
         at com.sunopsis.sql.SnpsConnection.testConnection(SnpsConnection.java)
         at com.sunopsis.sql.SnpsConnection.testConnection(SnpsConnection.java)
         at com.sunopsis.graphical.l.pm.o(pm.java)
         at com.sunopsis.graphical.l.pm.r(pm.java)
         at com.sunopsis.graphical.l.pm.g(pm.java)
         at com.sunopsis.graphical.l.pm.a(pm.java)
         at com.sunopsis.graphical.l.pm.a(pm.java)
         at com.sunopsis.graphical.l.iz.actionPerformed(iz.java)
         at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
         at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(Unknown Source)
         at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
         at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
         at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
         at java.awt.Component.processMouseEvent(Unknown Source)
         at java.awt.Component.processEvent(Unknown Source)
         at java.awt.Container.processEvent(Unknown Source)
         at java.awt.Component.dispatchEventImpl(Unknown Source)
         at java.awt.Container.dispatchEventImpl(Unknown Source)
         at java.awt.Component.dispatchEvent(Unknown Source)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
         at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
         at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
         at java.awt.Container.dispatchEventImpl(Unknown Source)
         at java.awt.Window.dispatchEventImpl(Unknown Source)
         at java.awt.Component.dispatchEvent(Unknown Source)
         at java.awt.EventQueue.dispatchEvent(Unknown Source)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
         at java.awt.Dialog$1.run(Unknown Source)
         at java.awt.Dialog.show(Unknown Source)
         at java.awt.Component.show(Unknown Source)
         at java.awt.Component.setVisible(Unknown Source)
         at com.sunopsis.graphical.l.pm.q(pm.java)
         at com.sunopsis.graphical.l.pm.<init>(pm.java)
         at com.sunopsis.graphical.frame.b.jh.bx(jh.java)
         at com.sunopsis.graphical.frame.bo.w(bo.java)
         at com.sunopsis.graphical.frame.bo.d(bo.java)
         at com.sunopsis.graphical.frame.w.actionPerformed(w.java)
         at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
         at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(Unknown Source)
         at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
         at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
         at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
         at java.awt.Component.processMouseEvent(Unknown Source)
         at java.awt.Component.processEvent(Unknown Source)
         at java.awt.Container.processEvent(Unknown Source)
         at java.awt.Component.dispatchEventImpl(Unknown Source)
         at java.awt.Container.dispatchEventImpl(Unknown Source)
         at java.awt.Component.dispatchEvent(Unknown Source)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
         at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
         at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
         at java.awt.Container.dispatchEventImpl(Unknown Source)
         at java.awt.Window.dispatchEventImpl(Unknown Source)
         at java.awt.Component.dispatchEvent(Unknown Source)
         at java.awt.EventQueue.dispatchEvent(Unknown Source)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.run(Unknown Source)
    Cheers,
    Nikhil

  • Which LDAP attribute is connected with isUserAccountLocked() method?

    Hello,
    In IUserAccount object there is an API method isUserAccountLocked()
    Can anyone tell against which LDAP attribute is the check being made on or is it an internal UME DB attribute?

    Hi Roy,
    isUserAccountLocked() will check in the UME DB attribute. I thing isUserAccountLocked fetching the data belogs to the ume.ldap.blocked_accounts.
    refer to http://help.sap.com/saphelp_nw2004s/helpdata/en/af/0cfc3f09c2c442e10000000a1550b0/content.htm
    Regards
    AJ

  • Error while connecting to LDAP directly

    Hi All,
    We are working on the server which is connected to LDAP . Here, we are trying to connect directly to ldap with ldap url "ldap://myHost:port" as in below mentioned code :
    Hashtable env = new Hashtable();
    env.put(Context.INITIAL_CONTEXT_FACTORY, "com.sun.jndi.ldap.LdapCtxFactory");
    env.put(Context.PROVIDER_URL, "ldap://myHost:port");
    env.put(Context.SECURITY_AUTHENTICATION, "simple");
    env.put(Context.SECURITY_PRINCIPAL, "DC=ad,DC=org,DC=com");
    env.put(Context.SECURITY_CREDENTIALS, "");
    DirContext ctx = new InitialDirContext(env);
    While deploying we got some error as
    u201C[LDAP: error code 1 - 00000000: LdapErr: DSID-0C090627, comment: In order to perform this operation a successful bind must be completed on the connection., data 0, vece]u201D. 
    It seems, we need to pass certain parameters along with url like cn: common name, uid=unique id ,ou=org unit, o=organization. Need some information regarding what all details have to be provided for integration from configtool and in which format like for common name, organization etc.
    Also, what should be the entry for Context.SECURITY_PRINCIPAL?
    Appreciate an early response.
    Thanks in advance.
    Regards,
    Mitali

    [Start of UME Service Failed |http://help.sap.com/saphelp_nw04/helpdata/en/20/361941edd5ef23e10000000a155106/frameset.htm]check this same exception got resolved..
    one more thing, Have you uploaded the LDAP servers certificate in the TrustedCAS of the keystore in Visual Admin in the WAS server? If you are using LDAP ssl the connection to the server will expect a certificate if you dont have the trust enabled you wont be able to connect
    Thanks

  • Problem connecting LDAP SSL

    Hello:
    I try to connect IDM 6.0 SP1 wiht Sun Directory Server 5 (LDAP) using LDAP adapter. If i use non-secure port (389) it is OK and the connection work fine.
    But if i try to use ssl port (636) i obtain error.
    Directory Server is configure to work with both ports (389 and 636), it has enabled ssl and have a certificate (self-signed). Other aplication (ldap browser) can connect to ssl port without problem.
    Is there another thing to do in machine running IDM? (for example, install the LDAP certificate) How i do this?
    Both machines are Solaris 10 x86 and they are in same dns domain.
    Thank

    To connect to an SSL resource, you must have a certificate trust chain defined in the Java Virtual Machine in which the IDM is running. Not knowing what web server you are running IDM on, I must be general in my reply. You need to include the following system property definition in the java parameters for your JVM:
    -Djavax.net.ssl.trustStore=<fully qualified path to a JKS keystore containing the trust chain for your self signed server cert>
    e.g.
    -Djavax.net.ssl.trustStore=/myapps/idm/truststore.jks
    You can create the truststore using the keytool utility that comes with the Sun Java JDK (<JAVA_HOME>/bin/keytool) Hope this helps.
    FYI - your browser queries to LDAP work because you have the trust chain stored in your browser certificate cache.

  • SQL Developer 4.0 EA2 -- Cannot use OpenLDAP with LDAP connect option

    Hi,
    I've got OpenLDAP setup to work with my Oracle clients, to serve up TNS connect strings, in lieu of having tnsnames.ora files scattered about hundreds of servers.
    This is working fine with 10g/11g, both full and instant clients, no problem.
    Now, I'm trying to configure SQL Developer 4.0 EA2 working with it, as well.
    When I attempt to do so, I'm able to select the "LDAP" option in "Connection Type", and the "LDAP Server" drop down list is correctly populated with my LDAP server, from ldap.ora.
    However, when I select it, I get the following error:
    Status : Failure -[LDAP: error code 32 - No Such Object]
    Now, I've done some research, and I monitored the slapd.log file, which shows me the following:
    Sep 18 02:43:35 einstein slapd[2779]: conn=1034 fd=16 ACCEPT from IP=192.168.125.1:63781 (IP=0.0.0.0:389)
    Sep 18 02:43:35 einstein slapd[2779]: conn=1034 op=0 BIND dn="" method=128
    Sep 18 02:43:35 einstein slapd[2779]: conn=1034 op=0 RESULT tag=97 err=0 text=
    Sep 18 02:43:35 einstein slapd[2779]: conn=1034 op=1 SRCH base="" scope=2 deref=0 filter="(objectClass=orclContext)"
    Sep 18 02:43:35 einstein slapd[2779]: conn=1034 op=1 SEARCH RESULT tag=101 err=32 nentries=0 text=
    Sep 18 02:43:35 einstein slapd[2779]: conn=1034 op=2 UNBIND
    Sep 18 02:43:35 einstein slapd[2779]: conn=1034 fd=16 closed
    Which is a lot more detail, but reflects the corresponding error code, (32 - No Such Object).
    After doing some testing with ldapsearch, I've been able to replicate what SQL Developer is doing, and get the exact same error.
    That ldapsearch command is:
    ldapsearch -h einstein -p 389 -c -x -D "" -b "" "(objectClass=orclContext)"
    Looking in the slapd.log file, I find an identical error to what is produced from SQL Developer.
    Further, the query that SQL Developer wants to do can be successfully done with the following ldapsearch:
    ldapsearch -h einstein -p 389 -c -x -D "" -b "dc=proquest,dc=com" "(objectClass=orclContext)"
    So, it seems the problem is with the fact that SQL Developer is not supplying a search base.
    I'm no LDAP expert, and I'm really not sure where to turn next....
    Is there a SQL Developer option that allows me to set that search base?  Is there a configuration I'm missing on the LDAP server configuration?
    Thanks,
    -Mark

    Well, that didn't take long.  I managed to find a solution to the problem.
    It comes down to the fact that SQL Developer doesn't supply a search base, and my LDAP server didn't have a default search base defined.
    When I edited slapd.conf (the OpenLDAP config file) and added a "defaultsearchbase" parameter, and bounced the LDAP server, everything started to work.
    I now have a working configuration with OpenLDAP and SQL Developer.
    I'll mark this discussion as closed.
    -Mark

  • No trusted certificate found (91);Cannot connect to the LDAP server

    HI All,
    I am trying to connect to LDAP server with the following code.
    JSSESocketFactory fact = null;
    private LDAPConnection conn = null;
    String keystore = "C:\\j2sdk1.4.2_15\\jre\\lib\\security\\cacerts";
    System.setProperty("javax.net.ssl.trustStore",keystore);
    fact = new JSSESocketFactory(null);
    conn = new LDAPConnection(fact);
    int ldapVersion = 3;//LDAPConnection.LDAP_V3; //defualt values of LDAP settings
    private int ldapPort = 636;
    LDAPAttributeSet ldapAtrbSet;
    String ldapHost;
    String loginDN;
    String loginDN_Password;
    And it is gicving me error :
    Error: netscape.ldap.LDAPException: SSL connection to 192.168.10.8:636, sun.security.validator.ValidatorException: No trusted certificate found (91); Cannot connect to the LDAP server
    netscape.ldap.LDAPException: SSL connection to 192.168.10.8:636, sun.security.validator.ValidatorException: No trusted certificate found (91); Cannot connect to the LDAP server
         at netscape.ldap.factory.JSSESocketFactory.makeSocket(JSSESocketFactory.java:105)
         at netscape.ldap.LDAPConnSetupMgr.connectServer(LDAPConnSetupMgr.java:418)
         at netscape.ldap.LDAPConnSetupMgr.openSerial(LDAPConnSetupMgr.java:350)
         at netscape.ldap.LDAPConnSetupMgr.connect(LDAPConnSetupMgr.java:244)
         at netscape.ldap.LDAPConnSetupMgr.openConnection(LDAPConnSetupMgr.java:170)
         at netscape.ldap.LDAPConnection.connect(LDAPConnection.java:1042)
         at netscape.ldap.LDAPConnection.connect(LDAPConnection.java:924)
         at netscape.ldap.LDAPConnection.connect(LDAPConnection.java:768)
         at com.reflexis.LDAP.LdapTestSSL.createConnection(LdapTestSSL.java:522)
         at com.reflexis.LDAP.LdapTestSSL.checkLdap(LdapTestSSL.java:118)
         at com.reflexis.LDAP.LdapTestSSL.main(LdapTestSSL.java:52)
    Unable to connect to LDAP server
    I have imported atr certificate also by using command:
    "keytool -import -alias jag -file c:\x225.cer -keystore c:\j
    2sdk1.4.2_15\jre\lib\security\cacerts"
    I am running my java code from eclipse. And do i have to set any thing in eclipse for certificate. I Have imported certificate from command prompt.
    Can any one please help me.It is very important for me.
    Please its very urgent.
    THanks,
    Ankush Patni

    As previously said network is a possible cause.Other things could be time on filer is too far off time on DC.AD object for filer has been deleted or change by a Windows admin.If all users are experiencing a problem, you may need to rebind it to AD - run CIFS setup at command prompt

  • LDAP connection

    Hi,
    We have implemented NW2004s compoenets EP,BI(ABAP+JAVA),ECC6.0 . We wanted to implement LDAP integration with portal , so that user can login with OS credentials
    I have configured LDAP server details in portal system , system admin>system config>UME config-->LDAP server
    Test connection is sucess
    Aslo SAP system test connection is  success. Then restarted the server .
    But when i lgoin to the http://bneportal.kpml.com:50100/irj   system is still asking the user id & password.
    Afetr configured LDAP it should not ask ID and password .
    Is there any additional settings i need to do in visual admin?
    Thanks,
    Kristene

    Hi Kristene,
    You can configure LDAP Server using visual admin tool
    Follow this link for more info
    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/ep/setting%2bup%2ban%2bldap%2bfor%2bthe%2bportal
    if your EP server is configured with LDAP.
    then you can login into EP using your windows id (its mandatory).
    Ep server will ask user ID and paasword even after u have configured LDAP with EP Server
    Regards
    Srinivas

Maybe you are looking for

  • Runtime error

    HI all..... please look at this runtime error...... help me to solve this.... Table name:- ZRDSSTOCK. Data class:- APPL1. Size category:- 5. Buffering not allowed . Runtime Errors         DBIF_RSQL_SQL_ERROR Exception              CX_SY_OPEN_SQL_DB  

  • How to get the web of document from the URL

    Hi All, Need small help here, I have SharePoint doc URL as below: http://sharepoint.com/sub1/sub2/sub3/documents/TestFile.docx Here, TestFile existed in document library of Subsite i.e. sub3. If I give above URL as input, I should be able to get "sub

  • HT1338 new Apple I bought a Mac Pro, since I got it keeps crashing....all the time!!! It is my first Mac computer and it is horrible!!!!

    I bought a new Apple I bought a Mac Pro Retina screen, since I got it keeps crashing ALL the time!!!  This is my first Mac computer and I am hating it!!!  I assume I can take down to the any store and they will replace it??

  • Fonts missing in trial version of 5.5

    I just downloaded a trial version of CS5.5 Premium. I opened InDesign, and there are no fonts. Nor are they showing up in my Font folder in "Adobe" in my Program Files on the hard drive. I am using Windows 7. HOWEVER, Photoshop seems to have the full

  • Can't sync after device software update

    I updated the device software on my 8530 to version 5.0.0.1000. Since then I have been unable to synchronize Organizer data between my 8530  and Outlook (2003) on my PC (Windows Vista) using the BlackBerry Desktop software (version 6.0.0.43). I keep