AnsweredAssumed Answered

Can't get passthru authentication work

Question asked by holmes164 on Oct 19, 2015
Latest reply on Oct 20, 2015 by holmes164
Here is the link I download Alfresco
https://svn.alfresco.com/repos/alfresco-open-mirror/services/jlan/trunk/

Alfresco is built using ant and is run at commandline. Java 7, jdk1.7.0_79

I am really new to Alfresco. I have been trying to configure passthru authentication. I have searched Google, wiki, and forum. Still dead end.

I read an installation guide. At entry: 2.4.8.2 PassthruAuthenticator, there is an example configuration, I follow it and add more to adapt my case:


<security>
    <authenticator>
        <class> org.alfresco.jlan.server.auth.passthru.PassthruAuthenticator </class>
        <Server>x.x.x.x</Server>
        <mode>USER</mode>
        <Domain>DEMO</Domain>
    </authenticator>
</security>


I already install an AD server on Windows server 2008 RC2. Jlan server is a member of the domain.
When I try to loggon from another computer, jlan server console tells that user does not exist when I already created 1 at AD server.

I examine the jlanconfig.xml and I find out SMB uses "enterprise" authentication. Then I modify it as follow:


<authenticator type="passthru">
      <mode>USER<\mode>
      <Server>x.x.x.x</Server>
<\authenticator>


Now, I try to loggon again. It seems to work but it doesn't. Jlan server console keeps displaying:
Open Authenticate Session to ….
passthruID=….
Two stage logon ….
I run wireshark on AD server and see that no packet is coming from jlan server. This means that user send username and password to jlan server but jlan server does not send them to AD server to authenticate. I really have no idea what's going on.

Then I do more research on wiki, forum. People keep saying that we need to modify the "alfresco-global.properties" file. But I cannot find it anywhere on my jlan folder. Actually there is a file named: "jlan.properties". I try to modify it but it does not seem to affect jlan.

Any help is deeply appreciated. Thank you very much.

Outcomes