<?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: MD4 and CIFS server in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/md4-and-cifs-server/m-p/39043#M20771</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Andy,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I will try to get those out to the community at-large.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Some of this stuff will be based on Acegi's sandbox items, but some are new for Alfresco in particular.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Rollin&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 06 Dec 2005 13:57:25 GMT</pubDate>
    <dc:creator>crittendonr</dc:creator>
    <dc:date>2005-12-06T13:57:25Z</dc:date>
    <item>
      <title>MD4 and CIFS server</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/md4-and-cifs-server/m-p/39038#M20766</link>
      <description>I switched the web client to login via LDAP recently (just an initial authentication).&amp;nbsp; I noticed that changing authenticationComponentImpl would cause an error of the nature "org.alfresco.error.AlfrescoRuntimeException: Failed to initialize authenticator".Checking this out caused me to realize a lo</description>
      <pubDate>Mon, 05 Dec 2005 02:35:57 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/md4-and-cifs-server/m-p/39038#M20766</guid>
      <dc:creator>crittendonr</dc:creator>
      <dc:date>2005-12-05T02:35:57Z</dc:date>
    </item>
    <item>
      <title>Re: MD4 and CIFS server</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/md4-and-cifs-server/m-p/39039#M20767</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;MD4 is required as part of the NTLM authentication stuff.&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://curl.netmirror.org/rfc/ntlm.html" rel="nofollow noopener noreferrer"&gt;http://curl.netmirror.org/rfc/ntlm.html&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;If you do not have it you will not take part in NTLM authentication.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;No CIFS or any other NTLM based authentication.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;As I understand it, you need the MD4 password hash underneath all NTLM authentication mechanisms …. some add layers with MD5 above ..but the password hash it combines is always the MD4 hash of the password ….&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We did have MD5 hashes and down graded for compatibility.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If you do not need NLTM, the MD5 hash is available as a simple configuration thing. You would need an authentication component change to report that NTLM MD4 hash was not available.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you want your LDAP authentication mechanism to take part in NTLM (eg so you get cifs ….) you will have to support getting an MD4 hash.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Have you sorted your error? &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Please respond with more details if not.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Andy&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Dec 2005 12:11:52 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/md4-and-cifs-server/m-p/39039#M20767</guid>
      <dc:creator>andy</dc:creator>
      <dc:date>2005-12-05T12:11:52Z</dc:date>
    </item>
    <item>
      <title>Re: MD4 and CIFS server</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/md4-and-cifs-server/m-p/39040#M20768</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Andy,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you for the info on this.&amp;nbsp; I checked out NTLM and NTLM2 today, as well as a group of other items.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;My current thinking is that a hybrid approach might make sense.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1) Authenticate via LDAP: What I do now.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2) Do AuthorityService via LDAP&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;3) Get PersonService using LDAP&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;However, on login into Alfresco update the Alfresco user-information with the password sent to LDAP.&amp;nbsp; That would ensure a synchronized experience over CIFS and FTP, I think.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If any of this does not make sense please feel free to correct my logic.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Rollin&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Dec 2005 20:51:05 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/md4-and-cifs-server/m-p/39040#M20768</guid>
      <dc:creator>crittendonr</dc:creator>
      <dc:date>2005-12-05T20:51:05Z</dc:date>
    </item>
    <item>
      <title>Re: MD4 and CIFS server</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/md4-and-cifs-server/m-p/39041#M20769</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi again,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I just tried Webdav and it looks like it can do authentication independent of CIFS!&amp;nbsp; This is terrific and will probably be what we go with.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Rollin&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Dec 2005 22:31:55 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/md4-and-cifs-server/m-p/39041#M20769</guid>
      <dc:creator>crittendonr</dc:creator>
      <dc:date>2005-12-05T22:31:55Z</dc:date>
    </item>
    <item>
      <title>Re: MD4 and CIFS server</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/md4-and-cifs-server/m-p/39042#M20770</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The NTLM MD4 stuff is only required for CIFS at the moment.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Webdav and FTP should authenticate with any authentication component implementation.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;See &lt;/SPAN&gt;&lt;A href="http://www.alfresco.org/mediawiki/index.php/Security_and_Authentication" rel="nofollow noopener noreferrer"&gt;http://www.alfresco.org/mediawiki/index.php/Security_and_Authentication&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;for the details of what you need to do.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You could store the password, or better, the MD4 hash against users you have seen, and report this from the authentication component. This would make sense as a standard AbstractAuthenticationComponent switch - which I will look at. The persisted hash could then be stronger, but you would only get MD4 NTLM and or passthrough for people you have already seen …&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Are you intending to contribute your LDAP authentication to the community? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Andy&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Dec 2005 10:57:12 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/md4-and-cifs-server/m-p/39042#M20770</guid>
      <dc:creator>andy</dc:creator>
      <dc:date>2005-12-06T10:57:12Z</dc:date>
    </item>
    <item>
      <title>Re: MD4 and CIFS server</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/md4-and-cifs-server/m-p/39043#M20771</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Andy,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I will try to get those out to the community at-large.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Some of this stuff will be based on Acegi's sandbox items, but some are new for Alfresco in particular.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Rollin&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Dec 2005 13:57:25 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/md4-and-cifs-server/m-p/39043#M20771</guid>
      <dc:creator>crittendonr</dc:creator>
      <dc:date>2005-12-06T13:57:25Z</dc:date>
    </item>
    <item>
      <title>Re: MD4 and CIFS server</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/md4-and-cifs-server/m-p/39044#M20772</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;So far I have ldap authentication, and today I tried to make a new PersonService, that creates users on the fly.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The issue I encountered is that if the new user logs in the first time they see &lt;/SPAN&gt;&lt;A href="http://localhost:8080/alfresco/jsp/error.jsp" rel="nofollow noopener noreferrer"&gt;http://localhost:8080/alfresco/jsp/error.jsp&lt;/A&gt;&lt;SPAN&gt;, with the following message&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;javax.faces.FacesException: Error calling action method of component with id loginForm:submit&lt;BR /&gt;&lt;BR /&gt;caused by:&lt;BR /&gt;javax.faces.el.EvaluationException: Exception while invoking expression #{LoginBean.login}&lt;BR /&gt;&lt;BR /&gt;caused by:&lt;BR /&gt;java.lang.IllegalArgumentException: All user details are mandatory!&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there a way for me to have their first login work?&amp;nbsp; Subsequent logins are alright.&amp;nbsp; It is just the first one.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Many thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Rollin&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Dec 2005 01:47:34 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/md4-and-cifs-server/m-p/39044#M20772</guid>
      <dc:creator>crittendonr</dc:creator>
      <dc:date>2005-12-09T01:47:34Z</dc:date>
    </item>
    <item>
      <title>Re: MD4 and CIFS server</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/md4-and-cifs-server/m-p/39045#M20773</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;There should be no issue here.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We have other authentication mechanisms that create people on demand.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The current PersonService implementation does this.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can you send the full stack trace?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;It sounds like you have not made a full person object with a home space etc. Maybe looking at the current implementation will help.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Andy&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Dec 2005 13:08:42 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/md4-and-cifs-server/m-p/39045#M20773</guid>
      <dc:creator>andy</dc:creator>
      <dc:date>2005-12-09T13:08:42Z</dc:date>
    </item>
    <item>
      <title>Re: MD4 and CIFS server</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/md4-and-cifs-server/m-p/39046#M20774</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;That error was mine it turned out.&amp;nbsp; I was returning null instead of the NodeRef.&amp;nbsp; All is good now, many thanks.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Next I am looking at the Authority Service.&amp;nbsp; My impression is that I should corral groups in LDAP to map to the Authorities and their nesting.&amp;nbsp; Is that correct?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Many thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Rollin&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Dec 2005 14:02:42 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/md4-and-cifs-server/m-p/39046#M20774</guid>
      <dc:creator>crittendonr</dc:creator>
      <dc:date>2005-12-09T14:02:42Z</dc:date>
    </item>
  </channel>
</rss>

