<?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 Authentication using binddn in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/ldap-authentication-using-binddn/m-p/252643#M205773</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello again,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If anyone is looking for a solution, there's a &lt;/SPAN&gt;&lt;A href="https://issues.alfresco.com/jira/browse/ETHREEOH-1806" rel="nofollow noopener noreferrer"&gt;JIRA&lt;/A&gt;&lt;SPAN&gt; which explain ( better than me ) the problem.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;…&lt;BR /&gt;searching the user DN and then authenticate using this DN.&lt;BR /&gt;….&lt;BR /&gt;This was fixed in v3.2r.&lt;BR /&gt;If you set ldap.authentication.userNameFormat to be empty (now the default for the ldap subsystem)&lt;BR /&gt;ldap.authentication.userNameFormat=&lt;BR /&gt;it will derive a query from your personQuery to look up a user by UID. So we can now support users in any structure you want.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;As the JIRA describe, we need to set userNameFomat to empty.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;In addition, we need to set&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;UL&gt;ldap.synchronization.java.naming.security.principal=&amp;lt;privileged_user&amp;gt;&lt;BR /&gt;ldap.synchronization.java.naming.security.credentials=&amp;lt;password_of_the_above&amp;gt;&lt;BR /&gt;ldap.synchronization.userSearchBase=&amp;lt;search_base&amp;gt;&lt;BR /&gt;ldap.synchronization.userIdAttributeName=&amp;lt;ldap's_user_uid&amp;gt;&lt;/UL&gt;&lt;SPAN&gt;ldap-authentication.properties.example:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;ldap.authentication.active=true&lt;BR /&gt;ldap.authentication.allowGuestLogin=false&lt;BR /&gt;ldap.authentication.userNameFormat=&lt;BR /&gt;ldap.authentication.java.naming.factory.initial=com.sun.jndi.ldap.LdapCtxFactory&lt;BR /&gt;ldap.authentication.java.naming.provider.url=ldaps://&amp;lt;my_ldap_server&amp;gt;:636&lt;BR /&gt;ldap.authentication.java.naming.security.authentication=simple&lt;BR /&gt;ldap.authentication.escapeCommasInBind=false&lt;BR /&gt;ldap.authentication.escapeCommasInUid=false&lt;BR /&gt;ldap.synchronization.active=false&lt;BR /&gt;ldap.synchronization.java.naming.security.principal=cn\=search_privileged_user,ou\=example_ou,dc\=example,dc\=com&lt;BR /&gt;ldap.synchronization.java.naming.security.credentials=secret&lt;BR /&gt;ldap.synchronization.userSearchBase=ou\=example_ou,dc\=example,dc\=com&lt;BR /&gt;ldap.synchronization.userIdAttributeName=example_uid&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;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It works!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks to any interested, and sorry about my english.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 11 Nov 2010 13:04:39 GMT</pubDate>
    <dc:creator>kiko_</dc:creator>
    <dc:date>2010-11-11T13:04:39Z</dc:date>
    <item>
      <title>LDAP Authentication using binddn</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/ldap-authentication-using-binddn/m-p/252642#M205772</link>
      <description>HelloI'm using Alfresco 3.3 Enterprise (trial license) installed on a Ubuntu 10.04I need to authenticate against an OpenLdap Server who does not allow simple bind.If i want to do a simple query, need use a binddn.A simple query example (on shell): # ldapsearch -x -v -b &amp;lt;searchbase&amp;gt; -D &amp;lt;dn_o</description>
      <pubDate>Tue, 09 Nov 2010 17:46:09 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/ldap-authentication-using-binddn/m-p/252642#M205772</guid>
      <dc:creator>kiko_</dc:creator>
      <dc:date>2010-11-09T17:46:09Z</dc:date>
    </item>
    <item>
      <title>Re: LDAP Authentication using binddn</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/ldap-authentication-using-binddn/m-p/252643#M205773</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello again,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If anyone is looking for a solution, there's a &lt;/SPAN&gt;&lt;A href="https://issues.alfresco.com/jira/browse/ETHREEOH-1806" rel="nofollow noopener noreferrer"&gt;JIRA&lt;/A&gt;&lt;SPAN&gt; which explain ( better than me ) the problem.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;…&lt;BR /&gt;searching the user DN and then authenticate using this DN.&lt;BR /&gt;….&lt;BR /&gt;This was fixed in v3.2r.&lt;BR /&gt;If you set ldap.authentication.userNameFormat to be empty (now the default for the ldap subsystem)&lt;BR /&gt;ldap.authentication.userNameFormat=&lt;BR /&gt;it will derive a query from your personQuery to look up a user by UID. So we can now support users in any structure you want.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;As the JIRA describe, we need to set userNameFomat to empty.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;In addition, we need to set&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;UL&gt;ldap.synchronization.java.naming.security.principal=&amp;lt;privileged_user&amp;gt;&lt;BR /&gt;ldap.synchronization.java.naming.security.credentials=&amp;lt;password_of_the_above&amp;gt;&lt;BR /&gt;ldap.synchronization.userSearchBase=&amp;lt;search_base&amp;gt;&lt;BR /&gt;ldap.synchronization.userIdAttributeName=&amp;lt;ldap's_user_uid&amp;gt;&lt;/UL&gt;&lt;SPAN&gt;ldap-authentication.properties.example:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;ldap.authentication.active=true&lt;BR /&gt;ldap.authentication.allowGuestLogin=false&lt;BR /&gt;ldap.authentication.userNameFormat=&lt;BR /&gt;ldap.authentication.java.naming.factory.initial=com.sun.jndi.ldap.LdapCtxFactory&lt;BR /&gt;ldap.authentication.java.naming.provider.url=ldaps://&amp;lt;my_ldap_server&amp;gt;:636&lt;BR /&gt;ldap.authentication.java.naming.security.authentication=simple&lt;BR /&gt;ldap.authentication.escapeCommasInBind=false&lt;BR /&gt;ldap.authentication.escapeCommasInUid=false&lt;BR /&gt;ldap.synchronization.active=false&lt;BR /&gt;ldap.synchronization.java.naming.security.principal=cn\=search_privileged_user,ou\=example_ou,dc\=example,dc\=com&lt;BR /&gt;ldap.synchronization.java.naming.security.credentials=secret&lt;BR /&gt;ldap.synchronization.userSearchBase=ou\=example_ou,dc\=example,dc\=com&lt;BR /&gt;ldap.synchronization.userIdAttributeName=example_uid&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;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It works!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks to any interested, and sorry about my english.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Nov 2010 13:04:39 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/ldap-authentication-using-binddn/m-p/252643#M205773</guid>
      <dc:creator>kiko_</dc:creator>
      <dc:date>2010-11-11T13:04:39Z</dc:date>
    </item>
  </channel>
</rss>

