<?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 NTLM Authentication with Active Directory in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/ntlm-authentication-with-active-directory/m-p/248527#M201657</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi all,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Im using community 4.0.d on a vanilla Tomcat 6.0.35 install.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've been struggling for several days with this, so I'm hoping someone here might have an answer for me.&amp;nbsp; I'm trying to achieve SSO in IE8 so that a user doesn't have to enter a username or password.&amp;nbsp; I've managed to successfully log in (via the standard Alfresco login page) using my AD credentials.&amp;nbsp; I've also managed to synchronise my AD users, so that I can see them in Alfresco.&amp;nbsp; However if I try to log in using NTLM it fails (IE8 still pops up a dialog box, but it relates to the domain so I'm not sure what that's about).&amp;nbsp; I've turned up logging on the NTLMAuthenticationFilter, and I get the following output:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt; 2012-08-17 16:11:03,691&amp;nbsp; DEBUG [org.alfresco.web.app.servlet.NTLMAuthenticationFilter] [http-8080-1] New NTLM auth request from 192.168.10.10 (192.168.10.10:49567) SID:0F8D2CE2C82AE1F6655227A21B4EF9B5&lt;BR /&gt; 2012-08-17 16:11:11,010&amp;nbsp; DEBUG [org.alfresco.web.app.servlet.NTLMAuthenticationFilter] [http-8080-1] Received type1 [Type1:0xa2088207,Domain:&amp;lt;NotSet&amp;gt;,Wks:&amp;lt;NotSet&amp;gt;]&lt;BR /&gt; 2012-08-17 16:11:11,013&amp;nbsp; INFO&amp;nbsp; [org.alfresco.web.app.servlet.NTLMAuthenticationFilter] [http-8080-1] NTLM filter using server name magrathea&lt;BR /&gt; 2012-08-17 16:11:11,017&amp;nbsp; DEBUG [org.alfresco.web.app.servlet.NTLMAuthenticationFilter] [http-8080-1] Sending NTLM type2 to client - [Type2:0xa0080201,Target:magrathea,Ch:f387bc44a15b65f0]&lt;BR /&gt; 2012-08-17 16:11:11,021&amp;nbsp; DEBUG [org.alfresco.web.app.servlet.NTLMAuthenticationFilter] [http-8080-1] Received type3 [Type3:,LM:000000000000000000000000000000000000000000000000,NTLM:c0eb1440bce9ced98dbcfdf8e7d5842e0101000000000000aa6416898a7ccd01d965cfb6682f75a400000000020012006d00610067007200610074006800650061000000000000000000,Dom:TEST,User:fred,Wks:WINDOWS7]&lt;BR /&gt; 2012-08-17 16:11:11,036&amp;nbsp; DEBUG [org.alfresco.web.app.servlet.NTLMAuthenticationFilter] [http-8080-1] User fred does not have Alfresco account&lt;BR /&gt; 2012-08-17 16:11:11,036&amp;nbsp; DEBUG [org.alfresco.web.app.servlet.NTLMAuthenticationFilter] [http-8080-1] restartLoginChallenge…&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;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;So it's complaining that there is no account for fred, despite the fact that it was successfully imported from AD, and that I can see it if I log in as admin.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;My alfresco-global.properties file has the following extra properties (passwords hidden by ****):&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;authentication.chain=alfrescoNtlm1:alfrescoNtlm,ldap-ad1:ldap-ad&lt;BR /&gt;&lt;BR /&gt;alfresco.authentication.authenticateCIFS=false&lt;BR /&gt;ntlm.authentication.sso.enabled=true&lt;BR /&gt;&lt;BR /&gt;#ldap.authentication.active=false&lt;BR /&gt;ldap.authentication.java.naming.provider.url=ldap://192.168.10.1:389&lt;BR /&gt;ldap.authentication.userNameFormat=%s@test.com&lt;BR /&gt;&lt;BR /&gt;ldap.synchronization.active=true&lt;BR /&gt;ldap.synchronization.java.naming.security.authentication=simple&lt;BR /&gt;ldap.synchronization.java.naming.security.principal=administrator@test.com&lt;BR /&gt;ldap.synchronization.java.naming.security.credentials=****&lt;BR /&gt;ldap.synchronization.groupSearchBase=cn\=Users,dc\=test,dc\=com&lt;BR /&gt;ldap.synchronization.userSearchBase=cn\=Users,dc\=test,dc\=com&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;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm fairly new to this, but I think I've read most of the documentation, forum posts, and so on, and I'm now up against a bit of a brick wall.&amp;nbsp; Any help would be very much appreciated!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Ian&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 17 Aug 2012 15:41:24 GMT</pubDate>
    <dc:creator>ianp</dc:creator>
    <dc:date>2012-08-17T15:41:24Z</dc:date>
    <item>
      <title>NTLM Authentication with Active Directory</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/ntlm-authentication-with-active-directory/m-p/248527#M201657</link>
      <description>Hi all,Im using community 4.0.d on a vanilla Tomcat 6.0.35 install.I've been struggling for several days with this, so I'm hoping someone here might have an answer for me.&amp;nbsp; I'm trying to achieve SSO in IE8 so that a user doesn't have to enter a username or password.&amp;nbsp; I've managed to successfully log</description>
      <pubDate>Fri, 17 Aug 2012 15:41:24 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/ntlm-authentication-with-active-directory/m-p/248527#M201657</guid>
      <dc:creator>ianp</dc:creator>
      <dc:date>2012-08-17T15:41:24Z</dc:date>
    </item>
    <item>
      <title>Re: NTLM Authentication with Active Directory</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/ntlm-authentication-with-active-directory/m-p/248528#M201658</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Ian,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What Windows OS are you running.&amp;nbsp; If you're running anything newer than Windows XP, you'll have to change how authentication is handled for NTLM.&amp;nbsp; Alfresco can only use NTLMv1 session security.&amp;nbsp; By default, Vista and Windows 7 don't allow NTLMv1.&amp;nbsp; This can be change though.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;See this thread: &lt;/SPAN&gt;&lt;A href="https://forums.alfresco.com/en/viewtopic.php?f=9&amp;amp;t=24610#p80352" rel="nofollow noopener noreferrer"&gt;https://forums.alfresco.com/en/viewtopic.php?f=9&amp;amp;t=24610#p80352&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Ben&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Aug 2012 18:48:06 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/ntlm-authentication-with-active-directory/m-p/248528#M201658</guid>
      <dc:creator>benswitzer</dc:creator>
      <dc:date>2012-08-17T18:48:06Z</dc:date>
    </item>
    <item>
      <title>Re: NTLM Authentication with Active Directory</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/ntlm-authentication-with-active-directory/m-p/248529#M201659</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Ben,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for your reply.&amp;nbsp; I'm a little confused here though.&amp;nbsp; According to the documentation (&lt;/SPAN&gt;&lt;A href="http://docs.alfresco.com/4.0/topic/com.alfresco.enterprise.doc/concepts/auth-alfrescontlm-ntlm.html" rel="nofollow noopener noreferrer"&gt;http://docs.alfresco.com/4.0/topic/com.alfresco.enterprise.doc/concepts/auth-alfrescontlm-ntlm.html&lt;/A&gt;&lt;SPAN&gt;), what I'm trying to achieve should be possible:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;The alfrescoNtlm subsystem supports optional NTLM Single Sign-On (SSO) functions for WebDAV and the Alfresco Explorer client.&lt;BR /&gt;NTLM v2 is supported, which is more secure that the NTLM v1. If the client does not support NTLMv2, it will automatically downgrade to NTLMv1.&lt;BR /&gt;By using NTLM authentication to access Alfresco Explorer and Alfresco WebDAV sites, the web browser can automatically log in.&lt;BR /&gt;&lt;BR /&gt;When SSO is enabled, Internet Explorer will use your Windows log in credentials when requested by the web server. Firefox and Mozilla also support the use of NTLM but you need to add the URI to the Alfresco site that you want to access to network.automatic-ntlm-auth.trusted-uris option (available through writing about:config in the URL field) to allow the browser to use your current credentials for login purposes.&lt;/BLOCKQUOTE&gt;&lt;SPAN&gt;The above describes almost (maybe that's the problem?) exactly what I'm trying to do.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The link you posted seemed to be primarily about CIFS, which I'm not trying to do (well, not yet, anyway).&amp;nbsp; Have I missed something?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Many thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Ian&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Aug 2012 15:57:43 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/ntlm-authentication-with-active-directory/m-p/248529#M201659</guid>
      <dc:creator>ianp</dc:creator>
      <dc:date>2012-08-20T15:57:43Z</dc:date>
    </item>
    <item>
      <title>Re: NTLM Authentication with Active Directory</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/ntlm-authentication-with-active-directory/m-p/248530#M201660</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Anybody?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Aug 2012 13:34:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/ntlm-authentication-with-active-directory/m-p/248530#M201660</guid>
      <dc:creator>ianp</dc:creator>
      <dc:date>2012-08-24T13:34:00Z</dc:date>
    </item>
  </channel>
</rss>

