<?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: OpenLDAP authentication, if username already existed, both authentications are valid after sync in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/openldap-authentication-if-username-already-existed-both/m-p/53679#M19975</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Using SQL queries I have found the difference between user created with &lt;SPAN&gt;NATIVE&lt;/SPAN&gt; Alfresco authentication and user with same username imported from LDAP.&lt;/P&gt;&lt;P&gt;So, &lt;SPAN&gt;NATIVE&lt;/SPAN&gt; user is stored in&amp;nbsp;database table&amp;nbsp;&lt;EM&gt;alf_node&lt;/EM&gt; with types &lt;EM&gt;user&lt;/EM&gt; and &lt;EM&gt;person&lt;/EM&gt;.&lt;/P&gt;&lt;P&gt;Mixed user also&amp;nbsp;has both types.&lt;/P&gt;&lt;P&gt;LDAP user&amp;nbsp;&lt;SPAN&gt;has only&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;type &lt;EM&gt;person&lt;/EM&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Besides,&amp;nbsp;with db objects &lt;EM&gt;alf_child_assoc&lt;/EM&gt; it&amp;nbsp;was found, that&amp;nbsp;NATIVE person&amp;nbsp;object is owned by&amp;nbsp;AUTH.ALF&amp;nbsp;object, while LDAP &lt;SPAN&gt;person&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;object&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;&amp;nbsp;is owned by AUTH.EXT.ldap1 object.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;Mixed person object is owned by both&amp;nbsp;AUTH.ALF and AUTH.EXT.ldap1&amp;nbsp;objects.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;ACL is made by db object&amp;nbsp;&lt;EM&gt;alf_authority&lt;/EM&gt; where username is stored as String.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;So I hope that&amp;nbsp;ACL&amp;nbsp;made by native user will be effective for both LDAP and mixed user with same name.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;The same may be true for&amp;nbsp;access to documents owned by &lt;SPAN&gt;NATIVE&lt;/SPAN&gt; user - I suppose access to these documents will be&amp;nbsp;effective for LDAP and mixed user with same username.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The only problem is that field &lt;EM&gt;authority&lt;/EM&gt; in&amp;nbsp;&lt;EM&gt;alf_authority&lt;/EM&gt;&amp;nbsp;is case sensitive while username is&amp;nbsp;case insensitive.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;So in case if LDAP username and&amp;nbsp;NATIVE username have different case, there may be problem with access&amp;nbsp;of LDAP user to documetns of NATIVE user.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 21 Feb 2019 10:23:59 GMT</pubDate>
    <dc:creator>skushnerenko</dc:creator>
    <dc:date>2019-02-21T10:23:59Z</dc:date>
    <item>
      <title>OpenLDAP authentication, if username already existed, both authentications are valid after sync</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/openldap-authentication-if-username-already-existed-both/m-p/53678#M19974</link>
      <description>We have to provide authentication with&amp;nbsp;OpenLDAP&amp;nbsp;so, that after synchronization with OpenLDAP usernames from OpenLDAP, which already existed&amp;nbsp;for&amp;nbsp; alfrescoNtlm authentication, would keep all the access to&amp;nbsp;owned&amp;nbsp;documents.That is, we had user John with alfrescoNtlm authentication, which had long workin</description>
      <pubDate>Wed, 13 Feb 2019 09:05:25 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/openldap-authentication-if-username-already-existed-both/m-p/53678#M19974</guid>
      <dc:creator>skushnerenko</dc:creator>
      <dc:date>2019-02-13T09:05:25Z</dc:date>
    </item>
    <item>
      <title>Re: OpenLDAP authentication, if username already existed, both authentications are valid after sync</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/openldap-authentication-if-username-already-existed-both/m-p/53679#M19975</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Using SQL queries I have found the difference between user created with &lt;SPAN&gt;NATIVE&lt;/SPAN&gt; Alfresco authentication and user with same username imported from LDAP.&lt;/P&gt;&lt;P&gt;So, &lt;SPAN&gt;NATIVE&lt;/SPAN&gt; user is stored in&amp;nbsp;database table&amp;nbsp;&lt;EM&gt;alf_node&lt;/EM&gt; with types &lt;EM&gt;user&lt;/EM&gt; and &lt;EM&gt;person&lt;/EM&gt;.&lt;/P&gt;&lt;P&gt;Mixed user also&amp;nbsp;has both types.&lt;/P&gt;&lt;P&gt;LDAP user&amp;nbsp;&lt;SPAN&gt;has only&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;type &lt;EM&gt;person&lt;/EM&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Besides,&amp;nbsp;with db objects &lt;EM&gt;alf_child_assoc&lt;/EM&gt; it&amp;nbsp;was found, that&amp;nbsp;NATIVE person&amp;nbsp;object is owned by&amp;nbsp;AUTH.ALF&amp;nbsp;object, while LDAP &lt;SPAN&gt;person&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;object&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;&amp;nbsp;is owned by AUTH.EXT.ldap1 object.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;Mixed person object is owned by both&amp;nbsp;AUTH.ALF and AUTH.EXT.ldap1&amp;nbsp;objects.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;ACL is made by db object&amp;nbsp;&lt;EM&gt;alf_authority&lt;/EM&gt; where username is stored as String.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;So I hope that&amp;nbsp;ACL&amp;nbsp;made by native user will be effective for both LDAP and mixed user with same name.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;The same may be true for&amp;nbsp;access to documents owned by &lt;SPAN&gt;NATIVE&lt;/SPAN&gt; user - I suppose access to these documents will be&amp;nbsp;effective for LDAP and mixed user with same username.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The only problem is that field &lt;EM&gt;authority&lt;/EM&gt; in&amp;nbsp;&lt;EM&gt;alf_authority&lt;/EM&gt;&amp;nbsp;is case sensitive while username is&amp;nbsp;case insensitive.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;So in case if LDAP username and&amp;nbsp;NATIVE username have different case, there may be problem with access&amp;nbsp;of LDAP user to documetns of NATIVE user.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Feb 2019 10:23:59 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/openldap-authentication-if-username-already-existed-both/m-p/53679#M19975</guid>
      <dc:creator>skushnerenko</dc:creator>
      <dc:date>2019-02-21T10:23:59Z</dc:date>
    </item>
  </channel>
</rss>

