<?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 Passthru Authentication on Ubuntu Server 12.04 in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/passthru-authentication-on-ubuntu-server-12-04/m-p/249248#M202378</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hey everybody,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm having trouble setting up passthru authentication on my Ubuntu box. I'm using Alfresco Community 4.2a.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Passthru is not working, every time I try to login using a valid username and password I get an Invalid User Name/Password error both on /alfresco and /share.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Here is catalina.out:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt; 2012-11-13 03:00:46,334&amp;nbsp; DEBUG [alfresco.passthru.auth] [http-apr-8080-exec-8] Authenticate user=Administrator via local credentials&lt;BR /&gt; 2012-11-13 03:00:46,381&amp;nbsp; DEBUG [alfresco.passthru.auth] [http-apr-8080-exec-8] Authenticate org.alfresco.repo.security.authentication.ntlm.NTLMLocalToken@330fc66: Username: administrator; Password: [PROTECTED]; Authenticated: false; Details: null; Not granted any authorities via token&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;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;And that's it. This is everything I have from Alfresco. No errors, no nothing. The only thing I suspect that could be a problem is that it is saying that it's authenticating via local credentials. Googling for this error and checking out Alfresco's source code I found out that this object should be a NTLMPassthruToken, is this right? Maybe that's normal behaviour, I don't know because this is my first Alfresco experience. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;And my auth settings on alfresco-global:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;### Authentication ###&lt;BR /&gt;authentication.chain=alfrescoNtlm1:alfrescoNtlm,passthru1:passthru&lt;BR /&gt;&lt;BR /&gt;ntlm.authentication.sso.enabled=false&lt;BR /&gt;ntlm.authentication.authenticateCIFS=false&lt;BR /&gt;passthru.authentication.allowGuestLogin=false&lt;BR /&gt;&lt;BR /&gt;passthru.authentication.servers=MYDOMAIN\\10.0.0.124&lt;BR /&gt;passthru.authentication.domain=&lt;BR /&gt;passthru.authentication.useLocalServer=false&lt;BR /&gt;passthru.authentication.defaultAdministratorUserNames=Administrator&lt;BR /&gt;passthru.authentication.connectTimeout=5000&lt;BR /&gt;passthru.authentication.offlineCheckInterval=300&lt;BR /&gt;passthru.authentication.protocolOrder=TCPIP,NETBIOS&lt;BR /&gt;passthru.authentication.authenticateCIFS=true&lt;BR /&gt;passthru.authentication.authenticateFTP=true&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;So, where am I going wrong here? What else could I check for misconfigurations or errors? Any other important logs I should be setting? I must be missing something, I don't know.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any help will be much appreciated. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Best regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Theo&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 13 Nov 2012 05:01:32 GMT</pubDate>
    <dc:creator>theoribeiro</dc:creator>
    <dc:date>2012-11-13T05:01:32Z</dc:date>
    <item>
      <title>Passthru Authentication on Ubuntu Server 12.04</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/passthru-authentication-on-ubuntu-server-12-04/m-p/249248#M202378</link>
      <description>Hey everybody,I'm having trouble setting up passthru authentication on my Ubuntu box. I'm using Alfresco Community 4.2a.Passthru is not working, every time I try to login using a valid username and password I get an Invalid User Name/Password error both on /alfresco and /share.Here is catalina.out:</description>
      <pubDate>Tue, 13 Nov 2012 05:01:32 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/passthru-authentication-on-ubuntu-server-12-04/m-p/249248#M202378</guid>
      <dc:creator>theoribeiro</dc:creator>
      <dc:date>2012-11-13T05:01:32Z</dc:date>
    </item>
    <item>
      <title>Re: Passthru Authentication on Ubuntu Server 12.04</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/passthru-authentication-on-ubuntu-server-12-04/m-p/249249#M202379</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;There's a couple of good areas to look at for information.&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://wiki.alfresco.com/wiki/Alfresco_Authentication_Subsystems" rel="nofollow noopener noreferrer"&gt;http://wiki.alfresco.com/wiki/Alfresco_Authentication_Subsystems&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;and&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://docs.alfresco.com/4.0/index.jsp?topic=%2Fcom.alfresco.enterprise.doc%2Ftasks%2Fauth-subsystem-chain-config.html" rel="nofollow noopener noreferrer"&gt;http://docs.alfresco.com/4.0/index.jsp?topic=%2Fcom.alfresco.enterprise.doc%2Ftasks%2Fauth-subsystem-chain-config.html&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;These say pretty much the same thing - pass through authentication is not just an entry in Alfresco-global.properties.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;How does your system line up with these?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers, Sasquatch&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Nov 2012 07:57:42 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/passthru-authentication-on-ubuntu-server-12-04/m-p/249249#M202379</guid>
      <dc:creator>sasquatch58</dc:creator>
      <dc:date>2012-11-13T07:57:42Z</dc:date>
    </item>
    <item>
      <title>Re: Passthru Authentication on Ubuntu Server 12.04</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/passthru-authentication-on-ubuntu-server-12-04/m-p/249250#M202380</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Sasquatch,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you for your reply. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;AFAIK passthru is an Authentication Subsystem used to pass all authentication requests directly to a Domain Controller using NTLM, which means the DC should support NTLM. All in all, the DC must be an Active Directory controller, am I right? &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The thing is that my AD DC is not being reached by Alfresco. I have two different DCs here, on different networks, one AD running on Windows Server 2008 R2 and one Samba4 provisioned as an AD running on Ubuntu Server 12.04. I tried configuring passthru to reach both of them, without success. Watching the logs at both servers I can't see any signs of an authentication request coming from the Alfresco server. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Best regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Theo&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Nov 2012 13:58:18 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/passthru-authentication-on-ubuntu-server-12-04/m-p/249250#M202380</guid>
      <dc:creator>theoribeiro</dc:creator>
      <dc:date>2012-11-13T13:58:18Z</dc:date>
    </item>
    <item>
      <title>Re: Passthru Authentication on Ubuntu Server 12.04</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/passthru-authentication-on-ubuntu-server-12-04/m-p/249251#M202381</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I stand corrected, even though I cannot see authentications in any logs at our DC, by using TShark I was able to trace the SMB packets reaching with authentication information and all responses when the credentials are correct and when they are wrong. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;This means that the DC is authenticating correctly, now I have to find out why isn't Alfresco accepting the authentication.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Nov 2012 18:25:55 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/passthru-authentication-on-ubuntu-server-12-04/m-p/249251#M202381</guid>
      <dc:creator>theoribeiro</dc:creator>
      <dc:date>2012-11-13T18:25:55Z</dc:date>
    </item>
    <item>
      <title>Re: Passthru Authentication on Ubuntu Server 12.04</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/passthru-authentication-on-ubuntu-server-12-04/m-p/249252#M202382</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;&lt;img id="smileysurprised" class="emoticon emoticon-smileysurprised" src="https://connect.hyland.com/i/smilies/16x16_smiley-surprised.png" alt="Smiley Surprised" title="Smiley Surprised" /&gt;ops: &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Remote Debugging my Alfresco instance I found out what I was doing wrong. As I was only using passthru in my authentication chain, my users were being authenticated by the DC but their corresponding users didn't exist in Alfresco! All because I forgot to set ldap synchronization! After setting it up correctly, login worked just fine. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;For users with the same problem as me, remember: Passthru alone doesn't sync accounts, either you have to set ldap synchronization or create the corresponding accounts in Alfresco.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Nov 2012 15:01:49 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/passthru-authentication-on-ubuntu-server-12-04/m-p/249252#M202382</guid>
      <dc:creator>theoribeiro</dc:creator>
      <dc:date>2012-11-14T15:01:49Z</dc:date>
    </item>
    <item>
      <title>Re: Passthru Authentication on Ubuntu Server 12.04</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/passthru-authentication-on-ubuntu-server-12-04/m-p/249253#M202383</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I think something changed in this behaviour.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am already using Passthru authentication on Alfresco 4.0.d and also Alfresco 4.1.1, and there is no need to create an account before or perform LDAP syncronization. The account seems to be created when the user logs in for the first time.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But when I use the same configuration with Alfresco 4.2.b, an account is required as you are pointing.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is this behaviour by design on 4.2 branch?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Nov 2012 06:28:11 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/passthru-authentication-on-ubuntu-server-12-04/m-p/249253#M202383</guid>
      <dc:creator>jonvargas</dc:creator>
      <dc:date>2012-11-16T06:28:11Z</dc:date>
    </item>
  </channel>
</rss>

