cancel
Showing results for 
Search instead for 
Did you mean: 

NTLM Passthru

burner
Champ in-the-making
Champ in-the-making
Hi

i bought the Alfresco book and hoped, that this helps me with NTLM Passthru but it isnt really explained there how to configure.

In the wiki i read about the ntlm.

Do i have to uncommet the lines in the web.xml when i want to have NTLM passthru?
And then i have to rename the ntlm…sample into ntlm…xml.
I wrote the bean how explained
<beans>

    <bean id="authenticationDao" class="org.alfresco.repo.security.authentication.ntlm.NullMutableAuthenticationDao" />

    <!– The authentication component.                                      –>

    <!– Use the passthru authentication component to authenticate using    –>
    <!– user accounts on one or more Windows servers.                      –>
   
    <!– Properties that specify the server(s) to use for passthru          –>
    <!– authentication :-                                                  –>
    <!–   useLocalServer   use the local server for authentication         –>
    <!–   domain           use domain controllers from the specified domain–>
    <!–   servers          comma delimted list of server addresses or      –>
    <!–                    names                                           –>
      
    <bean id="authenticationComponentImpl" class="org.alfresco.repo.security.authentication.ntlm.NTLMAuthenticationComponentImpl">
        <property name="domain">
            <value>xxxxxx</value>
        </property>
        <property name="servers">
            <value>xxxxxxx</value>
        </property>
       
        <property name="useLocalServer">
            <value>false</value>
        </property>
        <property name="personService">
            <ref bean="personService" />
        </property>
        <property name="nodeService">
            <ref bean="nodeService" />
        </property>
        <property name="guestAccess">
            <value>false</value>
        </property>
       
    </bean>
   
</beans>

But i aint wotking i got errors of not able bein to create the bean and so on!I use Alfresco 1.4 on a Windows2003 Server.

And by the way waht is the differnce when i use NTLM Passthru and LDAP integration, i mean in both cases i have to connect to the DOmaincontrollers or?

CAn anyone help me please?
16 REPLIES 16

burner
Champ in-the-making
Champ in-the-making
Yes i have enabled NTLM in the web.xml.

Well Alfresco is running in a company domain so there is no firewall between Alfresco and DC but we use a prxy server!

gary_spencer
Champ in-the-making
Champ in-the-making
Hi,

Could you send me your alfresco.log file so I can see some of the passthru authentication startup where it should try to contact the configured servers.

Which ports are you proxying between Alfresco and the DC ?.

Cheers

Gary

burner
Champ in-the-making
Champ in-the-making
Hi i read the last days through other topics and i changed the name from the bean like in the wiki now and took out the domain property from the bean.So right now i come through.well i had to disable my ntlm security service on my pc too.

I have some cifs errors right now and try to fix them today but thank you.

I ll post when i have a new problem:-)

Thanx

burner
Champ in-the-making
Champ in-the-making
This is my error now with ntlm:

org.alfresco.error.AlfrescoRuntimeException: Transaction must be active and synchronization is required

Details verbergen

org.alfresco.error.AlfrescoRuntimeException: Transaction must be active and synchronization is required
at org.alfresco.repo.transaction.AlfrescoTransactionSupport.registerSynchronizations(AlfrescoTransactionSupport.java:371)
at org.alfresco.repo.transaction.AlfrescoTransactionSupport.getSynchronization(AlfrescoTransactionSupport.java:356)
at org.alfresco.repo.transaction.AlfrescoTransactionSupport.bindDaoService(AlfrescoTransactionSupport.java:210)
at org.alfresco.repo.transaction.TransactionalDaoInterceptor.invoke(TransactionalDaoInterceptor.java:66)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:170)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:176)
at $Proxy1.getNode(Unknown Source)
at org.alfresco.repo.node.db.DbNodeServiceImpl.exists(DbNodeServiceImpl.java:160)
at sun.reflect.GeneratedMethodAccessor145.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.alfresco.repo.service.StoreRedirectorProxyFactory$RedirectorInvocationHandler.invoke(StoreRedirectorProxyFactory.java:221)
at $Proxy2.exists(Unknown Source)
at sun.reflect.GeneratedMethodAccessor145.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:335)
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:181)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:148)
at org.alfresco.repo.node.MLPropertyInterceptor.invoke(MLPropertyInterceptor.java:227)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:170)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:176)
at $Proxy3.exists(Unknown Source)
at org.alfresco.repo.security.person.PersonServiceImpl.getPersonOrNull(PersonServiceImpl.java:202)
at org.alfresco.repo.security.person.PersonServiceImpl.getPerson(PersonServiceImpl.java:155)
at org.alfresco.repo.security.authentication.ntlm.NTLMAuthenticationComponentImpl.authenticatePassthru(NTLMAuthenticationComponentImpl.java:840)
at org.alfresco.repo.security.authentication.ntlm.NTLMAuthenticationComponentImpl.authenticate(NTLMAuthenticationComponentImpl.java:521)
at org.alfresco.web.app.servlet.NTLMAuthenticationFilter.processType3(NTLMAuthenticationFilter.java:727)
at org.alfresco.web.app.servlet.NTLMAuthenticationFilter.doFilter(NTLMAuthenticationFilter.java:400)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
at java.lang.Thread.run(Thread.java:595)

Hmm i dont get it, when i go on the full adress http://localhost:8080/alfrescofaces/jsp/login.jsp i can log in but when i go on

http://localhost:8080/alfresco

i get this error message (because its the SSO) but why?

andy
Champ on-the-rise
Champ on-the-rise
Hi

This is a bug in the 2.0 community edition.

http://issues.alfresco.com/browse/AR-1263

Andy

burner
Champ in-the-making
Champ in-the-making
Hi oh i dont understand what i have to do to fix it!

Svn dont work!

But i go through http and i found that java file. But i guess i have to compile it and put into a jarfile right?

But which one iand can i just compile and change the files?

diegolaranjeira
Champ in-the-making
Champ in-the-making
I have the same problem
Somebody help please