<?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 Alfresco CIFS Authenticator for openLDAP Users in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/alfresco-cifs-authenticator-for-openldap-users/m-p/2841#M797</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Actually, Alfresco provides some CIFS authenticators (passthru, ntlm...), but not for a LDAP subsystem. To solve this problem, we have implemented a component that allows you to use CIFS with openLDAP users.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE class="j-table jiveBorder" style="border: 1px solid #c6c6c6;" width="100%"&gt;&lt;THEAD&gt;&lt;TR style="background-color: #efefef;"&gt;&lt;TH style="width: 19.5066%;"&gt;&lt;/TH&gt;&lt;TH style="width: 78.7972%;"&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;/THEAD&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD style="width: 19.5066%;"&gt;Owner&lt;/TD&gt;&lt;TD style="width: 78.7972%;"&gt;&lt;B&gt;Cesar Capillas&lt;/B&gt;‌&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="width: 19.5066%;"&gt;Versions&lt;/TD&gt;&lt;TD style="width: 78.7972%;"&gt;&lt;P&gt;Community 3.4.x&lt;/P&gt;&lt;P&gt;Community 4.0.x&lt;/P&gt;&lt;P&gt;Community 4.2.x&lt;/P&gt;&lt;P&gt;Community 5.0.x&lt;/P&gt;&lt;P&gt;Enterprise 3.4.x&lt;/P&gt;&lt;P&gt;Enterprise 4.0.x&lt;/P&gt;&lt;P&gt;Enterprise 4.1.x&lt;/P&gt;&lt;P&gt;Enterprise 4.2.x&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="width: 19.5066%;"&gt;License Type&lt;/TD&gt;&lt;TD style="width: 78.7972%;"&gt;Proprietary&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="width: 19.5066%;"&gt;Project Page&lt;/TD&gt;&lt;TD style="width: 78.7972%;"&gt;&lt;A class="link-titled" href="http://www.zylk.net/web/guest/web-2-0/blog/-/blogs/alfresco-cifs-authenticator-for-openldap-users-addon" title="http://www.zylk.net/web/guest/web-2-0/blog/-/blogs/alfresco-cifs-authenticator-for-openldap-users-addon" rel="nofollow noopener noreferrer"&gt;- Alfresco CIFS authenticator for openLDAP users addon - zylk&lt;/A&gt;&amp;nbsp;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="width: 19.5066%;"&gt;Download Page&lt;/TD&gt;&lt;TD style="width: 78.7972%;"&gt;&lt;A class="link-titled" href="http://www.zylk.net/en/web/guest/alfresco-form" title="http://www.zylk.net/en/web/guest/alfresco-form" rel="nofollow noopener noreferrer"&gt;Contact - zylk&lt;/A&gt;&amp;nbsp;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="width: 19.5066%;"&gt;Tags&lt;/TD&gt;&lt;TD style="width: 78.7972%;"&gt;zylk.net, authenticator, subsystem, repository, cifs, samba, openldap&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="width: 19.5066%;"&gt;Component Type&lt;/TD&gt;&lt;TD style="width: 78.7972%;"&gt;Integration&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="width: 19.5066%;"&gt;Extension Points&lt;/TD&gt;&lt;TD style="width: 78.7972%;"&gt;Authenticator&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="width: 19.5066%;"&gt;Installation&lt;/TD&gt;&lt;TD style="width: 78.7972%;"&gt;AMP, Manual&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="width: 19.5066%;"&gt;Products&lt;/TD&gt;&lt;TD style="width: 78.7972%;"&gt;Repository&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Installation Guide:&lt;/STRONG&gt; The installation is tracked via AMP package. Stop Alfresco, copy the file in ${ALF_HOME}/amps and use ${ALF_HOME}/bin/apply_amps script to install de AMP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then copy configuration files to the extension directory:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;CODE&gt; ${ALF_HOME}/tomcat/shared/classes/alfresco/extension/subsystems/Authentication/ldapSamba/ldapSamba1/ldap-samba-authentication-context.xml ${ALF_HOME}/tomcat/shared/classes/alfresco/extension/subsystems/Authentication/ldapSamba/ldapSamba1/ldap-samba-authentication.properties &lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In alfresco-global.properties, an example of authentication chain can be:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;CODE&gt; authentication.chain=alfrescoNtlm1:alfrescoNtlm,myldap:ldap,ldapSamba1:ldapSamba &lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note that not all the protocols can be chained, so in order to use the LDAP Samba subsystem, the other CIFS-able subsystems must be deactivated (only one of the subsystems can use CIFS - in fact the first one in the chain):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;CODE&gt;alfresco.authentication.authenticateCIFS=false &lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&lt;CODE&gt;passthru.authentication.authenticateCIFS=false &lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;An example of custom properties are:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;CODE&gt; # LDAP Connection properties &lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&lt;CODE&gt;ldap.samba.authentication.java.naming.provider.url=ldap://ldap.example.com:389 ldap.samba.authentication.base=dc=example,dc=com &lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&lt;CODE&gt;ldap.samba.authentication.userbase=ou=People &lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&lt;CODE&gt;# The user defined below must be able to execute user search querys in LDAP (administrator) ldap.samba.java.naming.security.principal=cn=admin,dc=example,dc=com ldap.samba.java.naming.security.credentials=secret &lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;IMPORTANT:&lt;/STRONG&gt; Each LDAP user needs to store the password as an MD4 hash and we will solve this by adding a sambaSamAccount object class to the user profile. This object class and its attributes are defined in the samba.schema file, which is part of the samba-doc package. To install this new schema, have a look at the documentation for your Linux distribution in the sections talking about how to add an LDAP schema to OpenLDAP. And finally, restart your Alfresco instance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 14 Jun 2018 00:36:34 GMT</pubDate>
    <dc:creator>alfresco</dc:creator>
    <dc:date>2018-06-14T00:36:34Z</dc:date>
    <item>
      <title>Alfresco CIFS Authenticator for openLDAP Users</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/alfresco-cifs-authenticator-for-openldap-users/m-p/2841#M797</link>
      <description>Actually, Alfresco provides some CIFS authenticators (passthru, ntlm...), but not for a LDAP subsystem. To solve this problem, we have implemented a component that allows you to use CIFS with openLDAP users.OwnerCesar Capillas‌VersionsCommunity 3.4.xCommunity 4.0.xCommunity 4.2.xCommunity 5.0.xEnter</description>
      <pubDate>Thu, 14 Jun 2018 00:36:34 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/alfresco-cifs-authenticator-for-openldap-users/m-p/2841#M797</guid>
      <dc:creator>alfresco</dc:creator>
      <dc:date>2018-06-14T00:36:34Z</dc:date>
    </item>
  </channel>
</rss>

