<?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 Problème de connexion open ldap  in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/probl%C3%A8me-de-connexion-open-ldap/m-p/192494#M145624</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Bonjour, &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;J'arrive pas à faire fonctionner la connexion à un open ldap par cela marche avec aves les AD.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;J'obtiens cette erreur &lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'ldapInitialDirContextFactory' defined in file [/opt/alfresco-4.2.b/tomcat/webapps/alfresco/WEB-INF/classes/alfresco/subsystems/Authentication/ldap/../common-ldap-context.xml]: Invocation of init method failed; nested exception is org.alfresco.repo.security.authentication.AuthenticationException: 01070000 The ldap server at ldap://192.168.16.6:389 falls back to use anonymous bind if invalid security credentials are presented. This is not supported.&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1420)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:291)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:288)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:190)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:322)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;… 56 more&lt;BR /&gt;Caused by: org.alfresco.repo.security.authentication.AuthenticationException: 01070000 The ldap server at ldap://192.168.16.6:389 falls back to use anonymous bind if invalid security credentials are presented. This is not supported.&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at org.alfresco.repo.security.authentication.ldap.LDAPInitialDirContextFactoryImpl.afterPropertiesSet(LDAPInitialDirContextFactoryImpl.java:331)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1477)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1417)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;… 63 more&lt;BR /&gt;&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;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;Merci pour votre réponse.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Cordialement,&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 07 Feb 2013 16:06:24 GMT</pubDate>
    <dc:creator>abrahmi</dc:creator>
    <dc:date>2013-02-07T16:06:24Z</dc:date>
    <item>
      <title>Problème de connexion open ldap</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/probl%C3%A8me-de-connexion-open-ldap/m-p/192494#M145624</link>
      <description>Bonjour, J'arrive pas à faire fonctionner la connexion à un open ldap par cela marche avec aves les AD.J'obtiens cette erreur Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'ldapInitialDirContextFactory' defined in file [/opt/alfresco-4.2.b/tomcat/w</description>
      <pubDate>Thu, 07 Feb 2013 16:06:24 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/probl%C3%A8me-de-connexion-open-ldap/m-p/192494#M145624</guid>
      <dc:creator>abrahmi</dc:creator>
      <dc:date>2013-02-07T16:06:24Z</dc:date>
    </item>
    <item>
      <title>Re: Problème de connexion open ldap</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/probl%C3%A8me-de-connexion-open-ldap/m-p/192495#M145625</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Laissez savoir quelle version d'Alfresco vous utilisez. Est-ce normal d'avoir activé l'anonymous bind dans votre config ? A ma connaissance, ce cas a été adressé depuis la 3.3g. voir &lt;/SPAN&gt;&lt;A href="https://issues.alfresco.com/jira/browse/ALF-1905" rel="nofollow noopener noreferrer"&gt;https://issues.alfresco.com/jira/browse/ALF-1905&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Feb 2013 16:56:36 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/probl%C3%A8me-de-connexion-open-ldap/m-p/192495#M145625</guid>
      <dc:creator>rguinot</dc:creator>
      <dc:date>2013-02-08T16:56:36Z</dc:date>
    </item>
    <item>
      <title>Re: Problème de connexion open ldap</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/probl%C3%A8me-de-connexion-open-ldap/m-p/192496#M145626</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;bonjour,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Je traveille avec alfresco-4.2.b.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Voila le config que j'utilise.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ldap.authentication.active=true&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ldap.authentication.allowGuestLogin=false&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ldap.authentication.userNameFormat=uid\=%s,ou\=Users,dc\=domain,dc\=local&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ldap.authentication.java.naming.factory.initial=com.sun.jndi.ldap.LdapCtxFactory&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ldap.authentication.java.naming.provider.url=ldap://server:389&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ldap.authentication.java.naming.security.authentication=none&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ldap.authentication.escapeCommasInBind=true&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ldap.authentication.escapeCommasInUid=true&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ldap.authentication.defaultAdministratorUserNames=admin&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ldap.synchronization.active=true&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ldap.synchronization.java.naming.security.authentication=none&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ldap.synchronization.java.naming.security.principal=uid\=user,ou\=Users,dc\=domain,dc\=local&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ldap.synchronization.java.naming.security.credentials=passorduser&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ldap.synchronization.queryBatchSize=1000&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ldap.synchronization.attributeBatchSize=1000&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ldap.synchronization.groupQuery=(objectclass\=group)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ldap.synchronization.groupDifferentialQuery=(&amp;amp;(objectclass\=group)(!(modifyTimestamp&amp;lt;\={0})))&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ldap.synchronization.personQuery=(objectclass\=user)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ldap.synchronization.personDifferentialQuery=(&amp;amp;(objectclass\=user)(!(modifyTimestamp&amp;lt;\={0})))&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ldap.synchronization.groupSearchBase=dc\=domain,dc\=local&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ldap.synchronization.userSearchBase=dc\=domain,dc\=local&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ldap.synchronization.modifyTimestampAttributeName=modifyTimestamp&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ldap.synchronization.timestampFormat=yyyyMMddHHmmss'Z'&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ldap.synchronization.userIdAttributeName=sAMAccountName&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ldap.synchronization.userFirstNameAttributeName=givenName&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ldap.synchronization.userLastNameAttributeName=sn&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ldap.synchronization.userEmailAttributeName=mail&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ldap.synchronization.userOrganizationalIdAttributeName=company&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ldap.synchronization.defaultHomeFolderProvider=largeHomeFolderProvider&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ldap.synchronization.groupIdAttributeName=cn&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ldap.synchronization.groupDisplayNameAttributeName=displayName&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ldap.synchronization.groupType=group&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ldap.synchronization.personType=user&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ldap.synchronization.groupMemberAttributeName=member&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ldap.synchronization.enableProgressEstimation=true&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Voila le config utilisé par un main java pour réussir à se connecter à ce même openLdap&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;String providerURL = new StringBuffer("ldap://").append(hostname).append(":").append(port).toString();&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Properties props = new Properties();&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;props.put(Context.INITIAL_CONTEXT_FACTORY, "com.sun.jndi.ldap.LdapCtxFactory");&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;props.put(Context.PROVIDER_URL, providerURL);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;props.put(Context.SECURITY_PRINCIPAL, username);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;props.put(Context.SECURITY_CREDENTIALS, ((password == null) ? "" : password)); &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cordialement,&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Feb 2013 10:33:05 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/probl%C3%A8me-de-connexion-open-ldap/m-p/192496#M145626</guid>
      <dc:creator>abrahmi</dc:creator>
      <dc:date>2013-02-15T10:33:05Z</dc:date>
    </item>
    <item>
      <title>Re: Problème de connexion open ldap</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/probl%C3%A8me-de-connexion-open-ldap/m-p/192497#M145627</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Poouvez-vous comuniquer votre chain (défini dans alfresco-global.properties). En même temps vous pouvez aussi nous dire sur quel fichier avez-vous fait vos modifications (alfresco-global.properties ou dans shared/classes/alfresco/extension/subsytems/Authentication/ldap/*properties). &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Sinon par rapport à votre message précédent je vois par exemple que vous avez défini deux fois la variable ci dessous : &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ldap.authentication.java.naming.security.authentication=none&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;D'ailleurs pour l'avez vous passer en "none". Sinon vous pouvez bien utiliser&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ldap.authentication.java.naming.security.authentication=simple&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;et ajouter les deux variables ci dessous : &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ldap.synchronization.java.naming.security.principal=votre user admin&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ldap.synchronization.java.naming.security.credentials=Mot-De-passe&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Feb 2013 12:02:31 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/probl%C3%A8me-de-connexion-open-ldap/m-p/192497#M145627</guid>
      <dc:creator>sibe</dc:creator>
      <dc:date>2013-02-15T12:02:31Z</dc:date>
    </item>
    <item>
      <title>Re: Problème de connexion open ldap</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/probl%C3%A8me-de-connexion-open-ldap/m-p/192498#M145628</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Re,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Merci bien pour votre réponse rapide.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1) chaine : authentication.chain=ldap1:ldap,alfrescoNtlm1:alfrescoNtlm&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2 ) dans shared/classes/alfresco/extension/subsytems/Authentication/ldap/*properties&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;3) J'ai défini 2 variables et non pas une seule : &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ldap.authentication.java.naming.security.authentication=none&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ldap.synchronization.java.naming.security.authentication=none&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;4) si j'utilise ldap.authentication.java.naming.security.authentication=simple,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;un message me dit que ldap ne supporte pas cela.(en plus si j'utilise simple cela ne marche pas avec un main java c'est pour cela que je l'ai mis en none).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cordialement,&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Feb 2013 12:55:33 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/probl%C3%A8me-de-connexion-open-ldap/m-p/192498#M145628</guid>
      <dc:creator>abrahmi</dc:creator>
      <dc:date>2013-02-15T12:55:33Z</dc:date>
    </item>
    <item>
      <title>Re: Problème de connexion open ldap</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/probl%C3%A8me-de-connexion-open-ldap/m-p/192499#M145629</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Bonjour,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Est ce qu'il me faut cet addon &lt;/SPAN&gt;&lt;A href="http://addons.alfresco.com/addons/alfresco-cifs-authenticator-openldap-users" rel="nofollow noopener noreferrer"&gt;http://addons.alfresco.com/addons/alfresco-cifs-authenticator-openldap-users&lt;/A&gt;&lt;SPAN&gt; pour se connecter avec un openldap?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Merci pour votre réponse.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cordialement,&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Feb 2013 08:42:15 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/probl%C3%A8me-de-connexion-open-ldap/m-p/192499#M145629</guid>
      <dc:creator>abrahmi</dc:creator>
      <dc:date>2013-02-22T08:42:15Z</dc:date>
    </item>
  </channel>
</rss>

