<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Active Directory Configuration in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/active-directory-configuration/m-p/20397#M9002</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have alfresco process services 1.8.1 and wanted to activate the LDAP (active directory) authentication, but I'm facing the following error and don't know what to do:&lt;/P&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;2018-03-28 09:57:59,578 INFO [com.activti.idm.ldap.service.LdapSettingsManager] [localhost-startStop-1] rangeEnabled = false&lt;BR /&gt;2018-03-28 09:57:59,578 INFO [com.activti.idm.ldap.service.LdapSettingsManager] [localhost-startStop-1] rangeSize = 1500&lt;BR /&gt;2018-03-28 09:57:59,578 INFO [com.activti.idm.ldap.service.LdapSettingsManager] [localhost-startStop-1] userSearchBase = OU=User Accounts,OU=Alfresco,DC=pgi,DC=com&lt;BR /&gt;2018-03-28 09:57:59,578 INFO [com.activti.idm.ldap.service.LdapSettingsManager] [localhost-startStop-1] userQuery = (&amp;amp;(objectclass=user)(userAccountControl:1.2.840.113556.1.4.803:=512))&lt;BR /&gt;2018-03-28 09:57:59,594 INFO [com.activti.idm.ldap.service.LdapSettingsManager] [localhost-startStop-1] userDifferentialQuery = (&amp;amp;(objectclass=user)(userAccountControl:1.2.840.113556.1.4.803:=512)(!(whenChanged&amp;lt;={0})))&lt;BR /&gt;2018-03-28 09:57:59,594 INFO [com.activti.idm.ldap.service.LdapSettingsManager] [localhost-startStop-1] userIdAttributeName = uid&lt;BR /&gt;2018-03-28 09:57:59,594 INFO [com.activti.idm.ldap.service.LdapSettingsManager] [localhost-startStop-1] userFirstNameAttributeName = givenName&lt;BR /&gt;2018-03-28 09:57:59,594 INFO [com.activti.idm.ldap.service.LdapSettingsManager] [localhost-startStop-1] userLastNameAttributeName = sn&lt;BR /&gt;2018-03-28 09:57:59,594 INFO [com.activti.idm.ldap.service.LdapSettingsManager] [localhost-startStop-1] userEmailAttributeName = 'mail'&lt;BR /&gt;2018-03-28 09:57:59,594 INFO [com.activti.idm.ldap.service.LdapSettingsManager] [localhost-startStop-1] userType = 'user'&lt;BR /&gt;2018-03-28 09:57:59,594 INFO [com.activti.idm.ldap.service.LdapSettingsManager] [localhost-startStop-1] groupSearchBase = 'OU=Security Groups,OU=Alfresco,DC=pgi,DC=com'&lt;BR /&gt;2018-03-28 09:57:59,594 INFO [com.activti.idm.ldap.service.LdapSettingsManager] [localhost-startStop-1] groupQuery = '(objectclass=group)'&lt;BR /&gt;2018-03-28 09:57:59,594 INFO [com.activti.idm.ldap.service.LdapSettingsManager] [localhost-startStop-1] groupDifferentialQuery = '(&amp;amp;(objectclass=group)(!(whenChanged&amp;lt;={0})))'&lt;BR /&gt;2018-03-28 09:57:59,594 INFO [com.activti.idm.ldap.service.LdapSettingsManager] [localhost-startStop-1] groupIdAttributeName = 'cn'&lt;BR /&gt;2018-03-28 09:57:59,594 INFO [com.activti.idm.ldap.service.LdapSettingsManager] [localhost-startStop-1] groupMemberAttributeName = member&lt;BR /&gt;2018-03-28 09:57:59,594 INFO [com.activti.idm.ldap.service.LdapSettingsManager] [localhost-startStop-1] groupType = group&lt;BR /&gt;2018-03-28 09:57:59,594 INFO [com.activti.idm.ldap.service.LdapSettingsManager] [localhost-startStop-1] distinguishedNameAttributeName = dn&lt;BR /&gt;2018-03-28 09:57:59,594 INFO [com.activti.idm.ldap.service.LdapSettingsManager] [localhost-startStop-1] createTimestampAttributeName = whenCreated&lt;BR /&gt;2018-03-28 09:57:59,594 INFO [com.activti.idm.ldap.service.LdapSettingsManager] [localhost-startStop-1] modifyTimestampAttributeName = 'whenChanged'&lt;BR /&gt;2018-03-28 09:57:59,594 INFO [com.activti.idm.ldap.service.LdapSettingsManager] [localhost-startStop-1] timeStampFormat = yyyyMMddHHmmss'.0Z', locale = (en,GB), timezone = GMT&lt;BR /&gt;2018-03-28 09:58:00,764 WARN [org.hibernate.hql.internal.ast.HqlSqlWalker] [localhost-startStop-1] [DEPRECATION] Encountered positional parameter near line 1, column 88. Positional parameter are considered deprecated; use named parameters or JPA-style positional parameters instead.&lt;BR /&gt;2018-03-28 09:58:00,779 WARN [org.hibernate.hql.internal.ast.HqlSqlWalker] [localhost-startStop-1] [DEPRECATION] Encountered positional parameter near line 1, column 77. Positional parameter are considered deprecated; use named parameters or JPA-style positional parameters instead.&lt;BR /&gt;2018-03-28 09:58:04,180 INFO [com.activiti.service.idm.UserCacheImpl] [activiti-app-rest-Executor-2] User cache statistics: CacheStats{hitCount=0, missCount=0, loadSuccessCount=0, loadExceptionCount=0, totalLoadTime=0, evictionCount=0}&lt;BR /&gt;2018-03-28 09:58:04,180 INFO [com.activiti.service.idm.UserCacheImpl] [activiti-app-rest-Executor-2] The size of this cache is determined by the 'cache.users.max.size' and 'cache.users.max.age' property.&lt;BR /&gt;2018-03-28 09:58:04,180 INFO [com.activiti.service.idm.GroupHierarchyCacheImpl] [activiti-app-rest-Executor-2] Group cache statistics: CacheStats{hitCount=0, missCount=0, loadSuccessCount=0, loadExceptionCount=0, totalLoadTime=0, evictionCount=0}&lt;BR /&gt;2018-03-28 09:58:04,180 INFO [com.activiti.service.idm.GroupHierarchyCacheImpl] [activiti-app-rest-Executor-2] The size of this cache is determined by the 'cache.groups.max.size' and 'cache.groups.max.age' property.&lt;BR /&gt;2018-03-28 09:58:04,196 INFO [com.activiti.service.runtime.FormStoreServiceImpl] [activiti-app-rest-Executor-2] Form cache statistics: CacheStats{hitCount=0, missCount=0, loadSuccessCount=0, loadExceptionCount=0, totalLoadTime=0, evictionCount=0}&lt;BR /&gt;2018-03-28 09:58:04,196 INFO [com.activiti.service.runtime.FormStoreServiceImpl] [activiti-app-rest-Executor-2] The size of this cache is determined by the 'cache.forms.max.size' property&lt;BR /&gt;2018-03-28 09:58:04,196 INFO [com.activiti.service.runtime.integration.alfresco.AlfrescoOnPremiseTicketService] [activiti-app-rest-Executor-1] Alfresco ticket cache statistics: CacheStats{hitCount=0, missCount=0, loadSuccessCount=0, loadExceptionCount=0, totalLoadTime=0, evictionCount=0}&lt;BR /&gt;2018-03-28 09:58:04,196 INFO [com.activiti.service.runtime.integration.alfresco.AlfrescoOnPremiseTicketService] [activiti-app-rest-Executor-1] The size of this cache is determined by the 'cache.alfresco-tickets.max.size' and 'cache.alfresco-tickets.max.age' property.&lt;BR /&gt;2018-03-28 09:58:04,196 INFO [com.activiti.service.license.LicenseService] [pool-4-thread-4] Note! License is about to expire in the near future 20180415&lt;BR /&gt;2018-03-28 09:58:04,196 INFO [com.activiti.service.runtime.ScriptFileControllerCacheImpl] [activiti-app-rest-Executor-1] Script file cache statistics: CacheStats{hitCount=0, missCount=0, loadSuccessCount=0, loadExceptionCount=0, totalLoadTime=0, evictionCount=0}&lt;BR /&gt;2018-03-28 09:58:04,196 INFO [com.activiti.service.idm.PersistentTokenServiceImpl] [activiti-app-rest-Executor-2] Token cache statistics: CacheStats{hitCount=0, missCount=0, loadSuccessCount=0, loadExceptionCount=0, totalLoadTime=0, evictionCount=0}&lt;BR /&gt;2018-03-28 09:58:04,196 INFO [com.activiti.service.idm.PersistentTokenServiceImpl] [activiti-app-rest-Executor-2] The size of this cache is determined by the 'cache.login-tokens.max.size' and 'cache.login-tokens.max.age' property.&lt;BR /&gt;2018-03-28 09:58:04,196 INFO [com.activiti.service.runtime.ScriptFileLibraryCacheImpl] [activiti-app-rest-Executor-1] Script file cache statistics: CacheStats{hitCount=0, missCount=0, loadSuccessCount=0, loadExceptionCount=0, totalLoadTime=0, evictionCount=0}&lt;BR /&gt;2018-03-28 09:58:04,242 INFO [com.activiti.ActivitiApplication] [localhost-startStop-1] Started ActivitiApplication in 42.541 seconds (JVM running for 71.388)&lt;BR /&gt;2018-03-28 09:58:04,274 INFO [com.activiti.api.idm.AbstractExternalIdmSourceSyncService] [activiti-app-rest-Executor-2] No initial LDAP sync info found. Executing full synchronization.&lt;BR /&gt;2018-03-28 09:58:04,274 INFO [com.activiti.api.idm.AbstractExternalIdmSourceSyncService] [activiti-app-rest-Executor-2] Starting full LDAP synchronization&lt;BR /&gt;2018-03-28 09:58:04,274 INFO [com.activiti.api.idm.AbstractExternalIdmSourceSyncService] [activiti-app-rest-Executor-2] Starting to process the LDAP users and groups.&lt;BR /&gt;2018-03-28 09:58:04,320 INFO [com.activiti.api.idm.AbstractExternalIdmSourceSyncService] [activiti-app-rest-Executor-2] Found 0 groups and 2 users in LDAP&lt;BR /&gt;2018-03-28 09:58:04,383 INFO [com.activiti.api.idm.AbstractExternalIdmSourceSyncService] [activiti-app-rest-Executor-2] Error while handling user. Could not handle user correctly, user might not have been created.&lt;BR /&gt;javax.persistence.NonUniqueResultException: result returns more than one elements&lt;BR /&gt; at org.hibernate.ejb.QueryImpl.getSingleResult(QueryImpl.java:297)&lt;BR /&gt; at org.hibernate.ejb.criteria.CriteriaQueryCompiler$3.getSingleResult(CriteriaQueryCompiler.java:258)&lt;BR /&gt; at org.springframework.data.jpa.repository.query.JpaQueryExecution$SingleEntityExecution.doExecute(JpaQueryExecution.java:208)&lt;BR /&gt; at org.springframework.data.jpa.repository.query.JpaQueryExecution.execute(JpaQueryExecution.java:87)&lt;BR /&gt; at org.springframework.data.jpa.repository.query.AbstractJpaQuery.doExecute(AbstractJpaQuery.java:116)&lt;BR /&gt; at org.springframework.data.jpa.repository.query.AbstractJpaQuery.execute(AbstractJpaQuery.java:106)&lt;BR /&gt; at org.springframework.data.repository.core.support.RepositoryFactorySupport$QueryExecutorMethodInterceptor.doInvoke(RepositoryFactorySupport.java:492)&lt;BR /&gt; at org.springframework.data.repository.core.support.RepositoryFactorySupport$QueryExecutorMethodInterceptor.invoke(RepositoryFactorySupport.java:475)&lt;BR /&gt; at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)&lt;BR /&gt; at org.springframework.data.projection.DefaultMethodInvokingMethodInterceptor.invoke(DefaultMethodInvokingMethodInterceptor.java:56)&lt;BR /&gt; at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)&lt;BR /&gt; at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:99)&lt;BR /&gt; at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:282)&lt;BR /&gt; at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96)&lt;BR /&gt; at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)&lt;BR /&gt; at org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.invoke(PersistenceExceptionTranslationInterceptor.java:136)&lt;BR /&gt; at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)&lt;BR /&gt; at org.springframework.data.jpa.repository.support.CrudMethodMetadataPostProcessor$CrudMethodMetadataPopulatingMethodInterceptor.invoke(CrudMethodMetadataPostProcessor.java:133)&lt;BR /&gt; at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)&lt;BR /&gt; at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92)&lt;BR /&gt; at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)&lt;BR /&gt; at org.springframework.data.repository.core.support.SurroundingTransactionDetectorMethodInterceptor.invoke(SurroundingTransactionDetectorMethodInterceptor.java:57)&lt;BR /&gt; at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)&lt;BR /&gt; at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:213)&lt;BR /&gt; at com.sun.proxy.$Proxy248.findByExternalId(Unknown Source)&lt;BR /&gt; at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)&lt;BR /&gt; at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)&lt;BR /&gt; at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)&lt;BR /&gt; at java.lang.reflect.Method.invoke(Unknown Source)&lt;BR /&gt; at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:333)&lt;BR /&gt; at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190)&lt;BR /&gt; at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)&lt;BR /&gt; at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:52)&lt;BR /&gt; at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)&lt;BR /&gt; at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92)&lt;BR /&gt; at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)&lt;BR /&gt; at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:213)&lt;BR /&gt; at com.sun.proxy.$Proxy249.findByExternalId(Unknown Source)&lt;BR /&gt; at com.activiti.service.idm.UserServiceImpl.findUserByExternalId(UserServiceImpl.java:527)&lt;BR /&gt; at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)&lt;BR /&gt; at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)&lt;BR /&gt; at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)&lt;BR /&gt; at java.lang.reflect.Method.invoke(Unknown Source)&lt;BR /&gt; at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:333)&lt;BR /&gt; at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190)&lt;BR /&gt; at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)&lt;BR /&gt; at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:99)&lt;BR /&gt; at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:282)&lt;BR /&gt; at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96)&lt;BR /&gt; at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)&lt;BR /&gt; at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:213)&lt;BR /&gt; at com.sun.proxy.$Proxy243.findUserByExternalId(Unknown Source)&lt;BR /&gt; at com.activiti.api.idm.AbstractExternalIdmSourceSyncService.handleUser(AbstractExternalIdmSourceSyncService.java:498)&lt;BR /&gt; at com.activiti.api.idm.AbstractExternalIdmSourceSyncService$6.doInTransaction(AbstractExternalIdmSourceSyncService.java:476)&lt;BR /&gt; at com.activiti.api.idm.AbstractExternalIdmSourceSyncService$6.doInTransaction(AbstractExternalIdmSourceSyncService.java:469)&lt;BR /&gt; at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:133)&lt;BR /&gt; at com.activiti.api.idm.AbstractExternalIdmSourceSyncService.insertBatchOfUsers(AbstractExternalIdmSourceSyncService.java:469)&lt;BR /&gt; at com.activiti.api.idm.AbstractExternalIdmSourceSyncService.handleUsers(AbstractExternalIdmSourceSyncService.java:462)&lt;BR /&gt; at com.activiti.api.idm.AbstractExternalIdmSourceSyncService.fullSync(AbstractExternalIdmSourceSyncService.java:391)&lt;BR /&gt; at com.activiti.api.idm.AbstractExternalIdmSourceSyncService.internalExecuteFullSynchronization(AbstractExternalIdmSourceSyncService.java:298)&lt;BR /&gt; at com.activiti.api.idm.AbstractExternalIdmSourceSyncService$4.run(AbstractExternalIdmSourceSyncService.java:266)&lt;BR /&gt; at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)&lt;BR /&gt; at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)&lt;BR /&gt; at java.lang.Thread.run(Unknown Source)&lt;BR /&gt;2018-03-28 09:58:04,414 INFO [com.activiti.api.idm.AbstractExternalIdmSourceSyncService] [activiti-app-rest-Executor-2] Error while handling user. Could not handle user correctly, user might not have been created.&lt;BR /&gt;javax.persistence.NonUniqueResultException: result returns more than one elements&lt;BR /&gt; at org.hibernate.ejb.QueryImpl.getSingleResult(QueryImpl.java:297)&lt;BR /&gt; at org.hibernate.ejb.criteria.CriteriaQueryCompiler$3.getSingleResult(CriteriaQueryCompiler.java:258)&lt;BR /&gt; at org.springframework.data.jpa.repository.query.JpaQueryExecution$SingleEntityExecution.doExecute(JpaQueryExecution.java:208)&lt;BR /&gt; at org.springframework.data.jpa.repository.query.JpaQueryExecution.execute(JpaQueryExecution.java:87)&lt;BR /&gt; at org.springframework.data.jpa.repository.query.AbstractJpaQuery.doExecute(AbstractJpaQuery.java:116)&lt;BR /&gt; at org.springframework.data.jpa.repository.query.AbstractJpaQuery.execute(AbstractJpaQuery.java:106)&lt;BR /&gt; at org.springframework.data.repository.core.support.RepositoryFactorySupport$QueryExecutorMethodInterceptor.doInvoke(RepositoryFactorySupport.java:492)&lt;BR /&gt; at org.springframework.data.repository.core.support.RepositoryFactorySupport$QueryExecutorMethodInterceptor.invoke(RepositoryFactorySupport.java:475)&lt;BR /&gt; at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)&lt;BR /&gt; at org.springframework.data.projection.DefaultMethodInvokingMethodInterceptor.invoke(DefaultMethodInvokingMethodInterceptor.java:56)&lt;BR /&gt; at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)&lt;BR /&gt; at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:99)&lt;BR /&gt; at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:282)&lt;BR /&gt; at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96)&lt;BR /&gt; at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)&lt;BR /&gt; at org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.invoke(PersistenceExceptionTranslationInterceptor.java:136)&lt;BR /&gt; at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)&lt;BR /&gt; at org.springframework.data.jpa.repository.support.CrudMethodMetadataPostProcessor$CrudMethodMetadataPopulatingMethodInterceptor.invoke(CrudMethodMetadataPostProcessor.java:133)&lt;BR /&gt; at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)&lt;BR /&gt; at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92)&lt;BR /&gt; at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)&lt;BR /&gt; at org.springframework.data.repository.core.support.SurroundingTransactionDetectorMethodInterceptor.invoke(SurroundingTransactionDetectorMethodInterceptor.java:57)&lt;BR /&gt; at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)&lt;BR /&gt; at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:213)&lt;BR /&gt; at com.sun.proxy.$Proxy248.findByExternalId(Unknown Source)&lt;BR /&gt; at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)&lt;BR /&gt; at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)&lt;BR /&gt; at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)&lt;BR /&gt; at java.lang.reflect.Method.invoke(Unknown Source)&lt;BR /&gt; at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:333)&lt;BR /&gt; at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190)&lt;BR /&gt; at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)&lt;BR /&gt; at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:52)&lt;BR /&gt; at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)&lt;BR /&gt; at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92)&lt;BR /&gt; at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)&lt;BR /&gt; at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:213)&lt;BR /&gt; at com.sun.proxy.$Proxy249.findByExternalId(Unknown Source)&lt;BR /&gt; at com.activiti.service.idm.UserServiceImpl.findUserByExternalId(UserServiceImpl.java:527)&lt;BR /&gt; at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)&lt;BR /&gt; at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)&lt;BR /&gt; at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)&lt;BR /&gt; at java.lang.reflect.Method.invoke(Unknown Source)&lt;BR /&gt; at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:333)&lt;BR /&gt; at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190)&lt;BR /&gt; at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)&lt;BR /&gt; at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:99)&lt;BR /&gt; at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:282)&lt;BR /&gt; at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96)&lt;BR /&gt; at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)&lt;BR /&gt; at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:213)&lt;BR /&gt; at com.sun.proxy.$Proxy243.findUserByExternalId(Unknown Source)&lt;BR /&gt; at com.activiti.api.idm.AbstractExternalIdmSourceSyncService.handleUser(AbstractExternalIdmSourceSyncService.java:498)&lt;BR /&gt; at com.activiti.api.idm.AbstractExternalIdmSourceSyncService$6.doInTransaction(AbstractExternalIdmSourceSyncService.java:476)&lt;BR /&gt; at com.activiti.api.idm.AbstractExternalIdmSourceSyncService$6.doInTransaction(AbstractExternalIdmSourceSyncService.java:469)&lt;BR /&gt; at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:133)&lt;BR /&gt; at com.activiti.api.idm.AbstractExternalIdmSourceSyncService.insertBatchOfUsers(AbstractExternalIdmSourceSyncService.java:469)&lt;BR /&gt; at com.activiti.api.idm.AbstractExternalIdmSourceSyncService.handleUsers(AbstractExternalIdmSourceSyncService.java:462)&lt;BR /&gt; at com.activiti.api.idm.AbstractExternalIdmSourceSyncService.fullSync(AbstractExternalIdmSourceSyncService.java:391)&lt;BR /&gt; at com.activiti.api.idm.AbstractExternalIdmSourceSyncService.internalExecuteFullSynchronization(AbstractExternalIdmSourceSyncService.java:298)&lt;BR /&gt; at com.activiti.api.idm.AbstractExternalIdmSourceSyncService$4.run(AbstractExternalIdmSourceSyncService.java:266)&lt;BR /&gt; at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)&lt;BR /&gt; at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)&lt;BR /&gt; at java.lang.Thread.run(Unknown Source)&lt;BR /&gt;2018-03-28 09:58:04,414 ERROR [com.activiti.api.idm.AbstractExternalIdmSourceSyncService] [activiti-app-rest-Executor-2] Exception while executing full LDAP sync&lt;BR /&gt;org.springframework.transaction.TransactionSystemException: Could not commit JPA transaction; nested exception is javax.persistence.RollbackException: Transaction marked as rollbackOnly&lt;BR /&gt; at org.springframework.orm.jpa.JpaTransactionManager.doCommit(JpaTransactionManager.java:526)&lt;BR /&gt; at org.springframework.transaction.support.AbstractPlatformTransactionManager.processCommit(AbstractPlatformTransactionManager.java:761)&lt;BR /&gt; at org.springframework.transaction.support.AbstractPlatformTransactionManager.commit(AbstractPlatformTransactionManager.java:730)&lt;BR /&gt; at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:150)&lt;BR /&gt; at com.activiti.api.idm.AbstractExternalIdmSourceSyncService.insertBatchOfUsers(AbstractExternalIdmSourceSyncService.java:469)&lt;BR /&gt; at com.activiti.api.idm.AbstractExternalIdmSourceSyncService.handleUsers(AbstractExternalIdmSourceSyncService.java:462)&lt;BR /&gt; at com.activiti.api.idm.AbstractExternalIdmSourceSyncService.fullSync(AbstractExternalIdmSourceSyncService.java:391)&lt;BR /&gt; at com.activiti.api.idm.AbstractExternalIdmSourceSyncService.internalExecuteFullSynchronization(AbstractExternalIdmSourceSyncService.java:298)&lt;BR /&gt; at com.activiti.api.idm.AbstractExternalIdmSourceSyncService$4.run(AbstractExternalIdmSourceSyncService.java:266)&lt;BR /&gt; at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)&lt;BR /&gt; at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)&lt;BR /&gt; at java.lang.Thread.run(Unknown Source)&lt;BR /&gt;Caused by: javax.persistence.RollbackException: Transaction marked as rollbackOnly&lt;BR /&gt; at org.hibernate.ejb.TransactionImpl.commit(TransactionImpl.java:72)&lt;BR /&gt; at org.springframework.orm.jpa.JpaTransactionManager.doCommit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t;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Bellow is \tomcat\lib\activiti-ldap.properties&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;# --------------------------&lt;BR /&gt;# LDAP AUTHENTICATION CONFIG&lt;BR /&gt;# --------------------------&lt;BR /&gt;# Note that this is AUTHENTICATION only, not synchronization.&lt;BR /&gt;# For this to work properly, the LDAP synchronization (see below), needs to be &lt;BR /&gt;# enabled and configured correctly (on one node).&lt;BR /&gt;ldap.authentication.enabled=true&lt;BR /&gt;# Set to false to allow for case insensitive logins. By default true if omitted or commented out.&lt;BR /&gt;ldap.authentication.casesensitive=true&lt;BR /&gt;# Set this property to 'true' to allow for a fallback to database authentication (default is false).&lt;BR /&gt;# This can be useful to have a 'system' user for example which does not represent&lt;BR /&gt;# a real user (and is not in the LDAP user store), but can be used to eg. call the REST API.&lt;BR /&gt;ldap.allow.database.authenticaion.fallback=false&lt;BR /&gt;&lt;BR /&gt;# Property to map the user id entered by the user in the login field to that passed through to LDAP.&lt;BR /&gt;#&lt;BR /&gt;# If the users are in a flat list (eg one organizational unit), it's easy, simply set the property &lt;BR /&gt;# to a value, eg. uid={0},ou=users,dc=alfresco,dc=com&lt;BR /&gt;# This is also the most performant way, as the LDAP bind can be done directly.&lt;BR /&gt;#&lt;BR /&gt;# However, if the users are in structured folders (organizational units for example), a direct pattern cannot be used.&lt;BR /&gt;# In this case, leave the property either empty or comment it. &lt;BR /&gt;# A query will be done using the ldap.synchronization.personQuery with the ldap.synchronization.userIdAttributeName&lt;BR /&gt;# to find the user, and find it's dn. That dn will then be used to login.&lt;BR /&gt;ldap.authentication.dnPattern=&lt;BR /&gt;# Uncomment when using Active directory&lt;BR /&gt;ldap.authentication.active-directory.enabled=true&lt;BR /&gt;ldap.authentication.active-directory.domain=pgi.com&lt;BR /&gt;ldap.authentication.active-directory.rootDn=DC=pgi,DC=com&lt;BR /&gt;ldap.authentication.active-directory.searchFilter=(&amp;amp;(objectClass=user)(sAMAccountName={0}))&lt;BR /&gt;&lt;BR /&gt;# ----------------------------&lt;BR /&gt;# LDAP SYNCHRONIZATION CONFIG&lt;BR /&gt;# ----------------------------&lt;BR /&gt;# Enables full synchronization. With full sync, all user/groups will be checked whether they are valid or not.&lt;BR /&gt;# By default, runs at midnight, since this is quite a heavy operation.&lt;BR /&gt;# Full synchronization is needed because a partial synchronization cannot detect deletes of groups/users. &lt;BR /&gt;ldap.synchronization.full.enabled=true&lt;BR /&gt;ldap.synchronization.full.cronExpression=0 0 0 * * ?&lt;BR /&gt;# Enabled differential synchronization. This will only check the users/groups which are changes since last sync.&lt;BR /&gt;# A differential sync cannot detect deletes of users/groups. This is done by the full sync.&lt;BR /&gt;ldap.synchronization.differential.enabled=false&lt;BR /&gt;ldap.synchronization.differential.cronExpression=0 0 */4 * * ?&lt;BR /&gt;# Paging (default = no paging).&lt;BR /&gt;# If enabled, default page size is 100&lt;BR /&gt;ldap.synchronization.paging.enabled=false&lt;BR /&gt;ldap.synchronization.paging.size=500&lt;BR /&gt;# Db batch sizes&lt;BR /&gt;ldap.synchronization.db.insert.batch.size=100&lt;BR /&gt;ldap.synchronization.db.query.batch.size=100&lt;BR /&gt;&lt;BR /&gt;# ----------------------&lt;BR /&gt;# LDAP CONNECTION CONFIG&lt;BR /&gt;# ----------------------&lt;BR /&gt;# The URL to connect to the LDAP server &lt;BR /&gt;ldap.authentication.java.naming.provider.url=ldap://ActiveDirectory.pgi.com:389&lt;BR /&gt;# The default principal to use (only used for LDAP sync)&lt;BR /&gt;ldap.synchronization.java.naming.security.principal=CN\=Alfresco,OU\=User Accounts,OU\=Alfresco,DC\=pgi,DC\=com&lt;BR /&gt;# The password for the default principal (only used for LDAP sync)&lt;BR /&gt;ldap.synchronization.java.naming.security.credentials=Start123&lt;BR /&gt;# The authentication mechanism to use for synchronization&lt;BR /&gt;ldap.synchronization.java.naming.security.authentication=simple&lt;BR /&gt;# LDAPS truststore configuration properties&lt;BR /&gt;#ldap.authentication.truststore.path=&lt;BR /&gt;#ldap.authentication.truststore.passphrase=&lt;BR /&gt;#ldap.authentication.truststore.type=&lt;BR /&gt;# Set to 'ssl' to enable truststore configuration via subsystem's properties&lt;BR /&gt;#ldap.authentication.java.naming.security.protocol=ssl&lt;BR /&gt;# The LDAP context factory to use&lt;BR /&gt;#ldap.authentication.java.naming.factory.initial=com.sun.jndi.ldap.LdapCtxFactory&lt;BR /&gt;# Requests timeout, in miliseconds, use 0 for none (default)&lt;BR /&gt;#ldap.authentication.java.naming.read.timeout=0&lt;BR /&gt;# See http://docs.oracle.com/javase/jndi/tutorial/ldap/referral/jndi.html&lt;BR /&gt;#ldap.synchronization.java.naming.referral=follow&lt;BR /&gt;&lt;BR /&gt;# -----------&lt;BR /&gt;# USER CONFIG&lt;BR /&gt;# -----------&lt;BR /&gt;# The user search base restricts the LDAP user query to a sub section of tree on the LDAP server.&lt;BR /&gt;ldap.synchronization.userSearchBase=OU=User Accounts,OU=Alfresco,DC=pgi,DC=com&lt;BR /&gt;# The query to select all objects that represent the users to import.&lt;BR /&gt;# Active Directory example: (&amp;amp;(objectclass\=user)(userAccountControl\:1.2.840.113556.1.4.803\:\=512))&lt;BR /&gt;ldap.synchronization.personQuery=(&amp;amp;(objectclass\=user)(userAccountControl\:1.2.840.113556.1.4.803\:\=512))&lt;BR /&gt;# The query to select objects that represent the users to import that have changed since a certain time.&lt;BR /&gt;# Active Directory example: (&amp;amp;(objectclass\=user)(userAccountControl\:1.2.840.113556.1.4.803\:\=512)(!(whenChanged&amp;lt;\={0})))&lt;BR /&gt;ldap.synchronization.personDifferentialQuery=(&amp;amp;(objectclass\=user)(userAccountControl\:1.2.840.113556.1.4.803\:\=512)(!(whenChanged&amp;lt;\={0})))&lt;BR /&gt;# The attribute name on people objects found in LDAP to use as the login id in Activiti. Needs to be unique and cannot change!&lt;BR /&gt;ldap.synchronization.userIdAttributeName=uid&lt;BR /&gt;# The attribute on person objects in LDAP to map to the first name property of a user&lt;BR /&gt;ldap.synchronization.userFirstNameAttributeName=givenName&lt;BR /&gt;# The attribute on person objects in LDAP to map to the last name property of a user&lt;BR /&gt;ldap.synchronization.userLastNameAttributeName=sn&lt;BR /&gt;# The attribute on person objects in LDAP to map to the email property of a user&lt;BR /&gt;ldap.synchronization.userEmailAttributeName=mail&lt;BR /&gt;# The person type in LDAP&lt;BR /&gt;# Active Directory: user&lt;BR /&gt;ldap.synchronization.userType=user&lt;BR /&gt;# Set the dn of the people that need to be made tenant admin (one tenant). Delimit multiple entries with ;, cause we can't use a comma of course. Note: no trimming of spaces will be applied&lt;BR /&gt;##ldap.synchronization.tenantAdminDn=uid=admin,ou=users,dc=alfresco,dc=com&lt;BR /&gt;# Set the dn of the people that need to be made tenant manager (multiple tenants). Delimit multiple entries with ;, cause we can't use a comma of course. Note: no trimming of spaces will be applied&lt;BR /&gt;##ldap.synchronization.tenantManagerDn=uid=admin,ou=users,dc=alfresco,dc=com&lt;BR /&gt;# ------------&lt;BR /&gt;# GROUP CONFIG&lt;BR /&gt;# ------------&lt;BR /&gt;# The group search base restricts the LDAP group query to a sub section of tree on the LDAP server.&lt;BR /&gt;ldap.synchronization.groupSearchBase=OU=Security Groups,OU=Alfresco,DC=pgi,DC=com&lt;BR /&gt;# The query to select all objects that represent the groups to import.&lt;BR /&gt;# Active Directory example: (objectclass\=group)&lt;BR /&gt;ldap.synchronization.groupQuery=(objectclass\=group)&lt;BR /&gt;# The query to select objects that represent the groups to import that have changed since a certain time.&lt;BR /&gt;# Active Directory example: (&amp;amp;(objectclass\=group)(!(whenChanged&amp;lt;\={0})))&lt;BR /&gt;ldap.synchronization.groupDifferentialQuery=(&amp;amp;(objectclass\=group)(!(whenChanged&amp;lt;\={0})))&lt;BR /&gt;# The attribute on LDAP group objects to map to the authority name property in Alfresco&lt;BR /&gt;ldap.synchronization.groupIdAttributeName=cn&lt;BR /&gt;# The attribute in LDAP on group objects that defines the DN for its members&lt;BR /&gt;ldap.synchronization.groupMemberAttributeName=member&lt;BR /&gt;# LDAP Range (default = no range).&lt;BR /&gt;# If enabled, default range size is 1000.&lt;BR /&gt;# This is an Active Directory attribute &lt;BR /&gt;# and should be used when there are groups with more than&lt;BR /&gt;# 1000 members for AD on Windows Server 2000 or&lt;BR /&gt;# 1500 members for AD on Windows Server 2003+&lt;BR /&gt;# see https://msdn.microsoft.com/en-us/library/ms676302(VS.85).aspx&lt;BR /&gt;ldap.synchronization.groupMemberRangeEnabled=false&lt;BR /&gt;ldap.synchronization.groupMemberRangeSize=1500&lt;BR /&gt;# The group type in LDAP&lt;BR /&gt;# Active Directory: group&lt;BR /&gt;ldap.synchronization.groupType=group&lt;BR /&gt;&lt;BR /&gt;# ------------------------&lt;BR /&gt;# GENERIC ATTRIBUTE CONFIG&lt;BR /&gt;# ------------------------&lt;BR /&gt;# The dn of an entry. &lt;BR /&gt;ldap.synchronization.distinguishedNameAttributeName=dn&lt;BR /&gt;# The name of the operational attribute recording the last update time for a group or user.&lt;BR /&gt;# Active Directory: whenChanged&lt;BR /&gt;ldap.synchronization.modifyTimestampAttributeName=whenChanged&lt;BR /&gt;# The name of the operational attribute recording the create time for a group or user.&lt;BR /&gt;# Active Directory: whenCreated&lt;BR /&gt;ldap.synchronization.createTimestampAttributeName=whenCreated&lt;BR /&gt;# The timestamp format. Unfortunately, this varies between directory servers.&lt;BR /&gt;# Active Directory: yyyyMMddHHmmss'.0Z'&lt;BR /&gt;ldap.synchronization.timestampFormat=yyyyMMddHHmmss'.0Z'&lt;BR /&gt;# The timestamp format locale language. 'en' by default. Follows the java.util.Locale semantics.&lt;BR /&gt;ldap.synchronization.timestampFormat.locale.language=en&lt;BR /&gt;# The timestamp format locale country. 'GB' by default. Follows the java.util.Locale semantics.&lt;BR /&gt;ldap.synchronization.timestampFormat.locale.country=GB&lt;BR /&gt;# The timestamp format timezone. 'GMT' by default. Folloez the java.text.SimpleDateFormat semantics.&lt;BR /&gt;ldap.synchronization.timestampFormat.timezone=GMT&lt;BR /&gt;&lt;BR /&gt;# -----------------------&lt;BR /&gt;# LDAP CONNECTION POOLING&lt;BR /&gt;# -----------------------&lt;BR /&gt;# Options=&lt;BR /&gt;# nothing filled in: no connection pooling&lt;BR /&gt;# 'jdk': use the default jdk pooling mechanism&lt;BR /&gt;# 'spring': use the spring ldap connection pooling facilities. These can be configured further below&lt;BR /&gt;#ldap.synchronization.pooling.type=spring&lt;BR /&gt;# Following settings follow the semantics of org.springframework.ldap.pool.factory.PoolingContextSource&lt;BR /&gt;#ldap.synchronization.pooling.minIdle=0&lt;BR /&gt;#ldap.synchronization.pooling.maxIdle=8&lt;BR /&gt;#ldap.synchronization.pooling.maxActive=0&lt;BR /&gt;#ldap.synchronization.pooling.maxTotal=-1&lt;BR /&gt;#ldap.synchronization.pooling.maxWait=-1&lt;BR /&gt;# Options for exhausted action: fail | block | grow&lt;BR /&gt;#ldap.synchronization.pooling.whenExhaustedAction=block&lt;BR /&gt;#ldap.synchronization.pooling.testOnBorrow=false&lt;BR /&gt;#ldap.synchronization.pooling.testOnReturn=false&lt;BR /&gt;#ldap.synchronization.pooling.testWhileIdle=false&lt;BR /&gt;#ldap.synchronization.pooling.timeBetweenEvictionRunsMillis=-1&lt;BR /&gt;#ldap.synchronization.pooling.minEvictableIdleTimeMillis=1800000&lt;BR /&gt;#ldap.synchronization.pooling.numTestsPerEvictionRun=3&lt;BR /&gt;# Connection pool validation (see http://docs.spring.io/spring-ldap/docs/2.0.2.RELEASE/reference/#pooling for semantics)&lt;BR /&gt;# Used when any of the testXXX above are set to true&lt;BR /&gt;#ldap.synchronization.pooling.validation.base=&lt;BR /&gt;#ldap.synchronization.pooling.validation.filter=&lt;BR /&gt;# Search control: object, oneLevel, subTree&lt;BR /&gt;#ldap.synchronization.pooling.validation.searchControlsRefs=&lt;BR /&gt;#---------------------------&lt;BR /&gt;# KERBEROS SSO CONFIGURATION&lt;BR /&gt;#---------------------------&lt;BR /&gt;kerberos.authentication.enabled=false&lt;BR /&gt;#kerberos.authentication.principal=HTTP/test.alfresco.local&lt;BR /&gt;#kerberos.authentication.keytab=C:/alfresco/alfrescohttp.keytab&lt;BR /&gt;kerberos.authentication.krb5.conf=C:/Windows/krb5.ini&lt;BR /&gt;#kerberos.allow.ldap.authentication.fallback=false&lt;BR /&gt;#kerberos.allow.database.authentication.fallback=false&lt;BR /&gt;# Set to true if you use the short form (samAccountName) of your AD username to log in to Windows rather than the full UPN&lt;BR /&gt;#kerberos.allow.samAccountName.authentication=true&lt;BR /&gt;# Following line must be set to true when Kerberos enabled&lt;BR /&gt;#security.authentication.use-externalid=true&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&g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t;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any idea ??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;Makram&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 28 Mar 2018 08:19:15 GMT</pubDate>
    <dc:creator>makram_baaziz</dc:creator>
    <dc:date>2018-03-28T08:19:15Z</dc:date>
    <item>
      <title>Active Directory Configuration</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/active-directory-configuration/m-p/20397#M9002</link>
      <description>Hello All,I have alfresco process services 1.8.1 and wanted to activate the LDAP (active directory) authentication, but I'm facing the following error and don't know what to do:2018-03-28 09:57:59,578 INFO [com.activti.idm.ldap.service.LdapSettingsManager] [localhost-startStop-1] rangeEnabled = fals</description>
      <pubDate>Wed, 28 Mar 2018 08:19:15 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/active-directory-configuration/m-p/20397#M9002</guid>
      <dc:creator>makram_baaziz</dc:creator>
      <dc:date>2018-03-28T08:19:15Z</dc:date>
    </item>
    <item>
      <title>Re: Active Directory Configuration</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/active-directory-configuration/m-p/20398#M9003</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Makram,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Appreciate that it has been a while since you asked your question, but I found it whilst trying to problem solve a different issue myself.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Did you get this resolved in the end ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I notice that you have&amp;nbsp;&lt;/P&gt;&lt;PRE class="" style="color: #000000; background: #f5f2f0; border: 0px; margin: 0.5em 0px; padding: 1em 1em 1em 3.8em;"&gt;&lt;CODE style="border: 0px; font-weight: inherit;"&gt;ldap.synchronization.userIdAttributeName=uid&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Although 'uid' is an attribute in&amp;nbsp;AD, i'm not sure what it gets populated with. That might be why you are getting non-unique results for a specific user.&amp;nbsp;&lt;/P&gt;&lt;P&gt;See&amp;nbsp;&lt;A class="link-titled" href="https://msdn.microsoft.com/en-us/library/ms677605(v=vs.85).aspx" title="https://msdn.microsoft.com/en-us/library/ms677605(v=vs.85).aspx" rel="nofollow noopener noreferrer"&gt;User Naming Attributes (Windows)&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You might be better off using&amp;nbsp;&lt;/P&gt;&lt;PRE class="" style="color: #000000; background: #f5f2f0; border: 0px; margin: 0.5em 0px; padding: 1em 1em 1em 3.8em;"&gt;&lt;CODE style="border: 0px; font-weight: inherit;"&gt;ldap.synchronization.userIdAttributeName=sAMAccountName&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;- we've had some success with this setting &amp;amp; AD, although my current problem is that disabled&amp;nbsp;AD accounts are not making active users 'inactive'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Caution : Note that this contradicts the example-activiti-ldap-for-ad.properties file which suggests you use 'cn' together&amp;nbsp;as does numerous other examples i've found in google searches.&amp;nbsp; However, that gives us the users full name in 'external_id' within APS, which&amp;nbsp;is not correct.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See&amp;nbsp;&lt;A class="link-titled" href="https://issues.alfresco.com/jira/browse/MNT-18209" title="https://issues.alfresco.com/jira/browse/MNT-18209" rel="nofollow noopener noreferrer"&gt;[MNT-18209] AD ldap.authentication.active-directory.* configuration properties cause auth failure - Alfresco JIRA&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I also note that there is an open JIRA to improve the documentation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Keith&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 May 2018 10:32:48 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/active-directory-configuration/m-p/20398#M9003</guid>
      <dc:creator>keith_bailey</dc:creator>
      <dc:date>2018-05-25T10:32:48Z</dc:date>
    </item>
  </channel>
</rss>

