<?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 Subtree ldap in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/subtree-ldap/m-p/27534#M11809</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;My ldap have subtree like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;cn=users&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; cn=r&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; uid=rodrigo&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; cn=l&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; uid=louis&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;The question is: how to configure alfresco to use a dynamic cn. The documentation contain a information about the "ldap.authentication.userNameFormat" and said "If set to an empty string (the default for the ldap subsystem), an LDAP query involving ldap.synchronization.personQuery and ldap.synchronization.userIdAttributeName will be performed to resolve the DN from the user ID dynamically. This allows directories to be structured and does not require the user ID to appear in the DN."&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So I think the Alfresco will perform the personQuery but doesn't work too.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Some idea?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 27 Mar 2017 19:14:30 GMT</pubDate>
    <dc:creator>maiconramones</dc:creator>
    <dc:date>2017-03-27T19:14:30Z</dc:date>
    <item>
      <title>Subtree ldap</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/subtree-ldap/m-p/27534#M11809</link>
      <description>My ldap have subtree like thiscn=users&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; cn=r&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; uid=rodrigo&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; cn=l&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; uid=louisThe question is: how to configure alfresco to use a dynamic cn. The documentation contain a information about the "ldap.authentication.userNameFormat" and said "If set to an empty string (the default fo</description>
      <pubDate>Mon, 27 Mar 2017 19:14:30 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/subtree-ldap/m-p/27534#M11809</guid>
      <dc:creator>maiconramones</dc:creator>
      <dc:date>2017-03-27T19:14:30Z</dc:date>
    </item>
    <item>
      <title>Re: Subtree ldap</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/subtree-ldap/m-p/27535#M11810</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe you can use another approach - search for objecttype=person that are memberOf users group...&lt;/P&gt;&lt;P&gt;But we need to have more information about your ldap structure - what kind of object are your "cn"s for example.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Alternative: tag your Alfresco users with a special property or put them in a special group...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Mar 2017 05:51:34 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/subtree-ldap/m-p/27535#M11810</guid>
      <dc:creator>mehe</dc:creator>
      <dc:date>2017-03-28T05:51:34Z</dc:date>
    </item>
    <item>
      <title>Re: Subtree ldap</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/subtree-ldap/m-p/27536#M11811</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think what you want is to set the value of&amp;nbsp;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;ldap.synchronization.userIdAttributeName=uid&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;with&amp;nbsp;ldap.authentication.userNameFormat &lt;STRONG&gt;not&lt;/STRONG&gt; set&lt;/P&gt;&lt;P&gt;You may also need something like&amp;nbsp;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;ldap.synchronization.personQuery=(objectclass\=posixAccount)&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Mar 2017 08:37:56 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/subtree-ldap/m-p/27536#M11811</guid>
      <dc:creator>idwright</dc:creator>
      <dc:date>2017-03-28T08:37:56Z</dc:date>
    </item>
    <item>
      <title>Re: Subtree ldap</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/subtree-ldap/m-p/27537#M11812</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Ian is right. If you use a posix user directory (Linux, zimbra, etc.) your objectclass would be posixAccount&lt;/P&gt;&lt;P&gt;so&amp;nbsp;&lt;/P&gt;&lt;P&gt;ldap.synchronisation.personQuery=(objectclass=posixAccount)&lt;/P&gt;&lt;P&gt;ldap.synchronisation.groupQuery=(objectclass=posixGroup)&lt;/P&gt;&lt;P&gt;would be the simplest queries, retrieving all groups and users.&lt;/P&gt;&lt;P&gt;If you'd describe your environment, we could narrow it down.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Mar 2017 10:49:44 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/subtree-ldap/m-p/27537#M11812</guid>
      <dc:creator>mehe</dc:creator>
      <dc:date>2017-03-28T10:49:44Z</dc:date>
    </item>
    <item>
      <title>Re: Subtree ldap</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/subtree-ldap/m-p/27538#M11813</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, sorry for delay. I solved this problem using:&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;ldap.authentication.userNameFormat=&lt;BR /&gt;ldap.synchronization.userIdAttributeName=uid&lt;BR /&gt;lap.synchronization.personQuery=(objectclass=Xyz)&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Now all user can login independently of CN&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;One more time, Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Mar 2017 16:15:12 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/subtree-ldap/m-p/27538#M11813</guid>
      <dc:creator>maiconramones</dc:creator>
      <dc:date>2017-03-28T16:15:12Z</dc:date>
    </item>
  </channel>
</rss>

