<?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 Re: LDAP Sync in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/ldap-sync/m-p/220512#M173642</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I would double check&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;ldap.synchronization.groupSearchBase and ldap.synchronization.userSearchBase&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;by using an LDAP browser such as the one from &lt;/SPAN&gt;&lt;A href="http://www.ldapbrowser.com" rel="nofollow noopener noreferrer"&gt;http://www.ldapbrowser.com&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 12 Sep 2009 16:47:12 GMT</pubDate>
    <dc:creator>dward</dc:creator>
    <dc:date>2009-09-12T16:47:12Z</dc:date>
    <item>
      <title>LDAP Sync</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/ldap-sync/m-p/220511#M173641</link>
      <description>Hi,After playing with authentication chains etc over the past few days, I've finally got it working how I want it to with the exception of LDAP sync.&amp;nbsp; My properties file is configured as:authentication.chain=alfrescoNtlm1:alfrescoNtlm,passthru1&lt;IMG id="smileytongue" class="emoticon emoticon-smileytongue" src="https://migration33.stage.lithium.com/i/smilies/16x16_smiley-tongue.png" alt="Smiley Tongue" title="Smiley Tongue" /&gt;assthru,ldap1:ldap-ad#passthru.authentication.domain=#</description>
      <pubDate>Fri, 11 Sep 2009 15:16:55 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/ldap-sync/m-p/220511#M173641</guid>
      <dc:creator>clynham</dc:creator>
      <dc:date>2009-09-11T15:16:55Z</dc:date>
    </item>
    <item>
      <title>Re: LDAP Sync</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/ldap-sync/m-p/220512#M173642</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I would double check&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;ldap.synchronization.groupSearchBase and ldap.synchronization.userSearchBase&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;by using an LDAP browser such as the one from &lt;/SPAN&gt;&lt;A href="http://www.ldapbrowser.com" rel="nofollow noopener noreferrer"&gt;http://www.ldapbrowser.com&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 12 Sep 2009 16:47:12 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/ldap-sync/m-p/220512#M173642</guid>
      <dc:creator>dward</dc:creator>
      <dc:date>2009-09-12T16:47:12Z</dc:date>
    </item>
    <item>
      <title>Re: LDAP Sync</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/ldap-sync/m-p/220513#M173643</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for that - That got it sorted.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've now got users to sync however I'm experiencing the same issue as this post where the Guest user clashes and causes the sync to fail:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums.alfresco.com/en/viewtopic.php?f=9&amp;amp;t=20653&amp;amp;p=67345&amp;amp;hilit=could+not+delete%3A+%5Borg.alfresco.repo.domain.hibernate.DbAccessControlEntryImpl%233%5D#p67396" rel="nofollow noopener noreferrer"&gt;http://forums.alfresco.com/en/viewtopic.php?f=9&amp;amp;t=20653&amp;amp;p=67345&amp;amp;hilit=could+not+delete%3A+%5Borg.alfresco.repo.domain.hibernate.DbAccessControlEntryImpl%233%5D#p67396&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;As suggested I've amended the queries to try and exlude the Guest user:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;# The query to select all objects that represent the users to import.&lt;BR /&gt;ldap.synchronization.personQuery=(&amp;amp;(objectclass\=inetOrgPerson)(!(sAMAccountName=Guest)))&lt;BR /&gt;# The query to select objects that represent the users to import that have changed since a certain time.&lt;BR /&gt;ldap.synchronization.personDifferentialQuery=(&amp;amp;(objectclass\=inetOrgPerson)(!(modifyTimestamp&amp;lt;\={0}))(!(sAMAccountName=Guest)))&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;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;However with these two lines included I get the following error when trying to log into Alfresco.&amp;nbsp; Comment them out and everything is fine again (with the exception of the Guest error):&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;net.sf.acegisecurity.AuthenticationServiceException: General error; nested exception is org.alfresco.error.AlfrescoRuntimeException: 08140002 User and group import failed &lt;BR /&gt;Caused by: org.alfresco.error.AlfrescoRuntimeException: 08140002 User and group import failed &lt;BR /&gt;at org.alfresco.repo.security.sync.ldap.LDAPUserRegistry.getGroups(LDAPUserRegistry.java:658) &lt;BR /&gt;at org.alfresco.repo.security.sync.ChainingUserRegistrySynchronizer.syncGroupsWithPlugin(ChainingUserRegistrySynchronizer.java:399) &lt;BR /&gt;at org.alfresco.repo.security.sync.ChainingUserRegistrySynchronizer.synchronize(ChainingUserRegistrySynchronizer.java:219) &lt;BR /&gt;at org.alfresco.repo.security.sync.ChainingUserRegistrySynchronizer.createMissingPerson(ChainingUserRegistrySynchronizer.java:245) &lt;BR /&gt;at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) &lt;BR /&gt;at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) &lt;BR /&gt;at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) &lt;BR /&gt;at java.lang.reflect.Method.invoke(Method.java:597) &lt;BR /&gt;at org.alfresco.repo.management.subsystems.SubsystemProxyFactory$1.invoke(SubsystemProxyFactory.java:71) &lt;BR /&gt;at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) &lt;BR /&gt;at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) &lt;BR /&gt;at $Proxy53.createMissingPerson(Unknown Source) &lt;BR /&gt;at org.alfresco.repo.security.authentication.AbstractAuthenticationComponent$SetCurrentUserCallback$1.doWork(AbstractAuthenticationComponent.java:431) &lt;BR /&gt;at org.alfresco.repo.security.authentication.AbstractAuthenticationComponent$SetCurrentUserCallback$1.doWork(AbstractAuthenticationComponent.java:429) &lt;BR /&gt;at org.alfresco.repo.security.authentication.AuthenticationUtil.runAs(AuthenticationUtil.java:489) &lt;BR /&gt;at org.alfresco.repo.security.authentication.AbstractAuthenticationComponent$SetCurrentUserCallback.execute(AbstractAuthenticationComponent.java:427) &lt;BR /&gt;at org.alfresco.repo.security.authentication.AbstractAuthenticationComponent$SetCurrentUserCallback.execute(AbstractAuthenticationComponent.java:412) &lt;BR /&gt;at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:326) &lt;BR /&gt;at org.alfresco.repo.security.authentication.AbstractAuthenticationComponent.setCurrentUser(AbstractAuthenticationComponent.java:193) &lt;BR /&gt;at org.alfresco.repo.security.authentication.ntlm.NTLMAuthenticationComponentImpl.authenticatePassthru(NTLMAuthenticationComponentImpl.java:873) &lt;BR /&gt;at org.alfresco.repo.security.authentication.ntlm.NTLMAuthenticationComponentImpl.authenticate(NTLMAuthenticationComponentImpl.java:560) &lt;BR /&gt;at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) &lt;BR /&gt;at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) &lt;BR /&gt;at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) &lt;BR /&gt;at java.lang.reflect.Method.invoke(Method.java:597) &lt;BR /&gt;at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:304) &lt;BR /&gt;at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) &lt;BR /&gt;at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) &lt;BR /&gt;at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106) &lt;BR /&gt;at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) &lt;BR /&gt;at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) &lt;BR /&gt;at $Proxy190.authenticate(Unknown Source) &lt;BR /&gt;at org.alfresco.repo.webdav.auth.BaseNTLMAuthenticationFilter.processType3(BaseNTLMAuthenticationFilter.java:606) &lt;BR /&gt;at org.alfresco.repo.webdav.auth.BaseNTLMAuthenticationFilter.doFilter(BaseNTLMAuthenticationFilter.java:338) &lt;BR /&gt;at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) &lt;BR /&gt;at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) &lt;BR /&gt;at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) &lt;BR /&gt;at java.lang.reflect.Method.invoke(Method.java:597) &lt;BR /&gt;at org.alfresco.repo.management.subsystems.ChainingSubsystemProxyFactory$1.invoke(ChainingSubsystemProxyFactory.java:109) &lt;BR /&gt;at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) &lt;BR /&gt;at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) &lt;BR /&gt;at $Proxy194.doFilter(Unknown Source) &lt;BR /&gt;at org.alfresco.repo.web.filter.beans.BeanProxyFilter.doFilter(BeanProxyFilter.java:88) &lt;BR /&gt;at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) &lt;BR /&gt;at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) &lt;BR /&gt;at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) &lt;BR /&gt;at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) &lt;BR /&gt;at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128) &lt;BR /&gt;at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) &lt;BR /&gt;at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) &lt;BR /&gt;at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286) &lt;BR /&gt;at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:845) &lt;BR /&gt;at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583) &lt;BR /&gt;at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447) &lt;BR /&gt;at java.lang.Thread.run(Thread.java:619) &lt;BR /&gt;Caused by: javax.naming.InvalidNameException: Invalid name: "ou=User accounts, dc=domain, dc=co, dc=uk" &lt;BR /&gt;at javax.naming.ldap.Rfc2253Parser.parseAttrType(Rfc2253Parser.java:130) &lt;BR /&gt;at javax.naming.ldap.Rfc2253Parser.doParse(Rfc2253Parser.java:83) &lt;BR /&gt;at javax.naming.ldap.Rfc2253Parser.parseDn(Rfc2253Parser.java:45) &lt;BR /&gt;at javax.naming.ldap.LdapName.parse(LdapName.java:772) &lt;BR /&gt;at javax.naming.ldap.LdapName.&amp;lt;init&amp;gt;(LdapName.java:108) &lt;BR /&gt;at org.alfresco.repo.security.sync.ldap.LDAPUserRegistry.getGroups(LDAPUserRegistry.java:488) &lt;BR /&gt;… 54 more &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&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;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/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;Have I made any obvious errors?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Sep 2009 14:04:23 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/ldap-sync/m-p/220513#M173643</guid>
      <dc:creator>clynham</dc:creator>
      <dc:date>2009-09-14T14:04:23Z</dc:date>
    </item>
    <item>
      <title>Re: LDAP Sync</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/ldap-sync/m-p/220514#M173644</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;For some reason, it thinks your ldap.synchronization.userSearchBase is invalid&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I checked out the exception you were getting from the JDK.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Caused by: javax.naming.InvalidNameException: Invalid name: "ou=User accounts, dc=domain, dc=co, dc=uk" &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When I go to that line of code, there are no quotes around the name. I would have expected to see&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Caused by: javax.naming.InvalidNameException: Invalid name: ou=User accounts, dc=domain, dc=co, dc=uk&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So have you really configured ldap.synchronization.userSearchBase with quote characters, or have you just edited the message for anonymity?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Anyway, double check that for weird characters, because there's something wrong with it.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Sep 2009 14:29:59 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/ldap-sync/m-p/220514#M173644</guid>
      <dc:creator>dward</dc:creator>
      <dc:date>2009-09-14T14:29:59Z</dc:date>
    </item>
    <item>
      <title>Re: LDAP Sync</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/ldap-sync/m-p/220515#M173645</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Sorry, my fault. Old programming habit of quoting strings that have spaces in them.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;With those two lines added (to exclude the guest user) it seems to stop the sync from occuring.&amp;nbsp; Without them when I log into Alfresco I can see it scrolling through the AD users in the console until it crashes out at the guest user and when they're added I get the message '0 users and 0 groups processed'&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is my query correct?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Sep 2009 11:09:55 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/ldap-sync/m-p/220515#M173645</guid>
      <dc:creator>clynham</dc:creator>
      <dc:date>2009-09-16T11:09:55Z</dc:date>
    </item>
  </channel>
</rss>

