cancel
Showing results for 
Search instead for 
Did you mean: 

Can't get passthru authentication work

holmes164
Champ in-the-making
Champ in-the-making
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.
2 REPLIES 2

mrogers
Star Contributor
Star Contributor
Do you intend to use JLAN standalone or Alfresco?    Your comment "Alfresco is built" is confusing.   No you havn't built alfresco,  you have built JLAN.

If it's alfresco (or the JLAN embedded within alfresco) then the alfresco docs and config like alfresco-global.properties and the authentication subsystems will apply.  

If JLAN standalone then the Jlan docs and config will apply.

holmes164
Champ in-the-making
Champ in-the-making
Sorry for my confusion. I intend to use Jlan. Can you tell me how to determine which Jlan I am configuring: standalone or embedded. I guess the version I am using is standalone because there is no "alfresco-global.properties" file. The only doc for Jlan I could find is the jlan installation guide mentioned above. Can you show me more source of Jlan doc. Thank you very much