AnsweredAssumed Answered

FIXED: NTLM sso finds passthru server but doesn't work

Question asked by mrintegrity on Jun 22, 2008
Latest reply on Jun 22, 2008 by mrintegrity
Hi,

I have configured Alfresco with NTLM sso and added the domain server to ntlm-authentication-context.xml but it doesn't seem to complete the connection after finding the server. Initially I had three domain controllers in the list but am just using one now for testing, here is the output from the log with hostnames altered:



01:54:01,566 DEBUG [org.alfresco.smb.protocol.auth] Connected session, protocol : TCP/IP NetBIOS
01:54:01,566 DEBUG [org.alfresco.smb.protocol.auth] SessionFactory: Negotiated SMB dialect NT LM 0.12
01:54:01,567 DEBUG [org.alfresco.smb.protocol.auth] Passthru server online, [example\dc02.example.com:192.168.1.103:Online:0,0]
01:54:01,636 DEBUG [org.alfresco.smb.protocol.auth] Passthru finding domain controller for example …
01:54:11,636 DEBUG [org.alfresco.smb.protocol.auth] Added passthru server [example\dc02.example.com:192.168.1.103:Offline:0,0]
01:54:11,643 DEBUG [org.alfresco.smb.protocol.auth] New auth session from mrintegrity-laptop_23 to \\192.168.1.103\IPC$\
01:54:11,644 DEBUG [org.alfresco.smb.protocol.auth] Trying address 192.168.1.103
01:54:11,646 DEBUG [org.alfresco.smb.protocol.auth] Connected to address 192.168.1.103
01:54:11,647 DEBUG [org.alfresco.smb.protocol.auth] Connected session, protocol : TCP/IP NetBIOS
01:54:11,650 DEBUG [org.alfresco.smb.protocol.auth] SessionFactory: Negotiated SMB dialect NT LM 0.12
01:54:11,651 DEBUG [org.alfresco.smb.protocol.auth] Passthru server online, [example\dc02.example.com:192.168.1.103:Online:0,0]
01:54:11,700 DEBUG [org.alfresco.smb.protocol.auth] Passthru finding domain controller for example …
01:54:21,700 DEBUG [org.alfresco.smb.protocol.auth] Added passthru server [example\dc02.example.com:192.168.1.103:Offline:0,0]
01:54:21,707 DEBUG [org.alfresco.smb.protocol.auth] New auth session from mrintegrity-laptop_24 to \\192.168.1.103\IPC$\
01:54:21,715 DEBUG [org.alfresco.smb.protocol.auth] Trying address 192.168.1.103
01:54:21,716 DEBUG [org.alfresco.smb.protocol.auth] Connected to address 192.168.1.103
01:54:21,717 DEBUG [org.alfresco.smb.protocol.auth] Connected session, protocol : TCP/IP NetBIOS
01:54:21,719 DEBUG [org.alfresco.smb.protocol.auth] SessionFactory: Negotiated SMB dialect NT LM 0.12
01:54:21,720 DEBUG [org.alfresco.smb.protocol.auth] Passthru server online, [example\dc02.example.com:192.168.1.103:Online:0,0]
01:54:21,734 DEBUG [org.alfresco.smb.protocol.auth] Passthru finding domain controller for example …
01:54:31,738 DEBUG [org.alfresco.smb.protocol.auth] Added passthru server [example\dc02.example.com:192.168.1.103:Offline:0,0]
01:54:31,739 DEBUG [org.alfresco.smb.protocol.auth] New auth session from mrintegrity-laptop_25 to \\192.168.1.103\IPC$\
01:54:31,746 DEBUG [org.alfresco.smb.protocol.auth] Trying address 192.168.1.103
01:54:31,774 DEBUG [org.alfresco.smb.protocol.auth] Connected to address 192.168.1.103
01:54:31,774 DEBUG [org.alfresco.smb.protocol.auth] Connected session, protocol : TCP/IP NetBIOS
01:54:31,790 DEBUG [org.alfresco.smb.protocol.auth] SessionFactory: Negotiated SMB dialect NT LM 0.12
01:54:31,791 DEBUG [org.alfresco.smb.protocol.auth] Passthru server online, [example\dc02.example.com:192.168.1.103:Online:0,0]
01:54:31,963 DEBUG [org.alfresco.smb.protocol.auth] Passthru finding domain controller for example …
01:54:41,964 DEBUG [org.alfresco.smb.protocol.auth] Added passthru server [example\dc02.example.com:192.168.1.103:Offline:0,0]
01:54:41,972 ERROR [org.springframework.web.context.ContextLoader] Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'schemaBootstrap' defined in class path resource [alfresco/bootstrap-context.xml]: Cannot resolve reference to bean 'patch.schemaUpdateScript-V1.4-1' while setting bean property 'preUpdateScriptPatches' with key [0]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'patch.schemaUpdateScript-V1.4-1' defined in file [/opt/alfresco/tomcat/webapps/alfresco/WEB-INF/classes/alfresco/patch/patch-services-context.xml]: Cannot resolve reference to bean 'patchComponent' while setting bean property 'patchService'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'patchComponent' defined in file [/opt/alfresco/tomcat/webapps/alfresco/WEB-INF/classes/alfresco/patch/patch-services-context.xml]: Cannot resolve reference to bean 'descriptorComponent' while setting bean property 'descriptorService'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'descriptorComponent' defined in class path resource [alfresco/bootstrap-context.xml]: Cannot resolve reference to bean 'systemBootstrap' while setting bean property 'systemBootstrap'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'systemBootstrap' defined in class path resource [alfresco/bootstrap-context.xml]: Cannot resolve reference to bean 'importerComponent' while setting bean property 'importerService'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'importerComponent' defined in class path resource [alfresco/import-export-context.xml]: Cannot resolve reference to bean 'NodeService' while setting bean property 'nodeService'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'NodeService': FactoryBean threw exception on object creation; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'NodeService_security' defined in class path resource [alfresco/public-services-security-context.xml]: Cannot resolve reference to bean 'accessDecisionManager' while setting bean property 'accessDecisionManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'accessDecisionManager' defined in class path resource [alfresco/public-services-security-context.xml]: Cannot resolve reference to bean 'aclEntryVoter' while setting bean property 'decisionVoters' with key [2]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'aclEntryVoter' defined in class path resource [alfresco/public-services-security-context.xml]: Cannot resolve reference to bean 'permissionService' while setting bean property 'permissionService'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'permissionService' defined in class path resource [alfresco/public-services-security-context.xml]: Cannot resolve reference to bean 'permissionServiceImpl' while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'permissionServiceImpl' defined in class path resource [alfresco/public-services-security-context.xml]: Cannot resolve reference to bean 'authenticationComponent' while setting bean property 'authenticationComponent'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'authenticationComponent' defined in fi:

and some more:

Caused by:
org.springframework.beans.PropertyBatchUpdateException; nested PropertyAccessException details (1) are:
PropertyAccessException 1:
org.springframework.beans.MethodInvocationException: Property 'domain' threw exception; nested exception is org.alfresco.error.AlfrescoRuntimeException: Failed to find domain controller or browse master for DTSET002

Can anyone help? I have set up correctly as far as I can see according to this howto at least:

http://forums.alfresco.com/en/viewtopic.php?t=7750&start=15

Thanks in advance,

Alan

Outcomes