cancel
Showing results for 
Search instead for 
Did you mean: 

LDAP and NTLM conflict under linux

gianluca
Champ in-the-making
Champ in-the-making
Hi everybody,
I've configured Alfresco 2.1 on my linux workstation with ntlm and ldap as mentioned in wiki and everything runs fine. I can trust users on active directory server and then import with specified job defined in job-scheduler. I have also copied the entire directory into another linux workstation and after changed configuration files according the new ip address I've tried to run the new alfresco instance.

At this time I've got an error:
"12:25:06,007 ERROR [[Catalina].[localhost].[/alfresco]] Exception starting filter Authentication Filter

javax.servlet.ServletException: Required authentication mode not available

at org.alfresco.web.app.servlet.NTLMAuthenticationFilter.init(NTLMAuthenticationFilter.java:191)

at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:221)

at org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:302)

at org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:7Cool

at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:3635)

at org.apache.catalina.core.StandardContext.start(StandardContext.java:4222)

at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:760)

at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:740)

at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:544)

at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:825)

at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:714)

at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:490)

at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1138)

at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)

at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:120)

at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1022)

at org.apache.catalina.core.StandardHost.start(StandardHost.java:736)

at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014)

at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)

at org.apache.catalina.core.StandardService.start(StandardService.java:448)

at org.apache.catalina.core.StandardServer.start(StandardServer.java:700)

at org.apache.catalina.startup.Catalina.start(Catalina.java:552)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
….."

This sound strange because the configuration files are the same of the alfresco instance running correctly on the first workstation.
I've tried to modify the NTLMAuthenticationFilter.java to get the value of m_authComponent.getNTLMMode(). In the first working instance the m_authComponent.getNTLMMode() return the correct value of "PASS_THROUGH" according to configuration files but in the second alfresco instance thi value is "NONE"!!!!!

Please help me!
Thanks.
Gianluca
4 REPLIES 4

schneika
Champ in-the-making
Champ in-the-making
Do you use a clone of your Workstation or do you have different OS

gianluca
Champ in-the-making
Champ in-the-making
Hi, I've the same OS (linux ubuntu) but in the first instance is ubuntu workstation and in the second one is ubuntu server. I've found the problem!
I must turn off the ldap authentication because it hurts to the ntlm authentication.

Thanks
Gianluca

schneika
Champ in-the-making
Champ in-the-making
To community: is there really no possibility to use ldap-Synchronisation (for users and groups) with NTLM-SSO-Autologin?

gianluca
Champ in-the-making
Champ in-the-making
Yes, you can! You must activate ntlm authentication an then ldap syncronization but without activating the ldap authentication because you have to use the ntlm and SSO.