As we transition to the new Hyland Community, some post links may be temporarily disrupted as we finalize redirects. We apologize for the inconvenience and are working to resolve this as quickly as possible. Details.
Alfresco { com.sun.security.auth.module.Krb5LoginModule sufficient; }; com.sun.net.ssl.client { com.sun.security.auth.module.Krb5LoginModule sufficient; }; other { com.sun.security.auth.module.Krb5LoginModule sufficient; };
login.config.url.1=file:${java.home}/lib/security/java.login.config
[libdefaults] default_realm = TEST [realms] TEST = { kdc = w2k3dc1.test.virtec admin_server = w2k3dc1.test.virtec } [domain_realm] w2k3dc1.test.virtec = TEST .w2k3dc1.test.virtec = TEST
<alfresco-config area="file-servers"> <config evaluator="string-compare" condition="CIFS Server"> <serverEnable enabled="true"/> <host name="W3KSERVER_A" domain="TEST"/> <comment>Alfresco CIFS Server</comment> <!– Set to the broadcast mask for the subnet –> <broadcast>255.255.255.255</broadcast> <!– Use Java socket based NetBIOS over TCP/IP and native SMB on linux –> <tcpipSMB platforms="linux,solaris,macosx"/> <netBIOSSMB platforms="linux,solaris,macosx"/> <hostAnnounce interval="5"/> <!– Use Win32 NetBIOS interface on Windows –> <Win32NetBIOS/> <Win32Announce interval="5"/> <sessionDebug flags="Negotiate,Socket,Tree,Errors,State"/> </config> <config evaluator="string-compare" condition="FTP Server"> <serverEnable enabled="true"/> </config> <config evaluator="string-compare" condition="NFS Server"> <serverEnable enabled="false"/> </config> <config evaluator="string-compare" condition="Filesystems"> <filesystems> <!– Alfresco repository access shared filesystem –> <filesystem name="Alfresco"> <store>workspace://SpacesStore</store> <rootPath>/app:company_home</rootPath> <!– Add a URL file to each folder that links back to the web client –> <urlFile> <filename>__AlfrescoClient.url</filename> <webpath>http://${localname}:8080/alfresco/</webpath> </urlFile> <!– Mark locked files as offline –> <offlineFiles/> <!– Desktop actions –> <!– Uses a client-side application to trigger a server-side action –> <!– Echo - displays a message echoed from the server –> <!– URL - launches a URL via the Windows shell –> <!– CmdLine - launches the Notepad application –> <!– CheckInOut - checks files in/out, drag and drop files onto the application –> <!– JavaScript - run a server-side script –> <!– JavaScriptURL - server-side script that generates a URL to the folder using a ticket –> <!– to avoid having to logon –> <!– <desktopActions> <global> <path>alfresco/desktop/Alfresco.exe</path> <webpath>http://${localname}:8080/alfresco/</webpath> </global> <action> <class>org.alfresco.filesys.smb.server.repo.desk.EchoDesktopAction</class> <name>Echo</name> <filename>__AlfrescoEcho.exe</filename> </action> <action> <class>org.alfresco.filesys.smb.server.repo.desk.URLDesktopAction</class> <name>URL</name> <filename>__AlfrescoURL.exe</filename> </action> <action> <class>org.alfresco.filesys.smb.server.repo.desk.CmdLineDesktopAction</class> <name>CmdLine</name> <filename>__AlfrescoCmd.exe</filename> </action> <action> <class>org.alfresco.filesys.smb.server.repo.desk.CheckInOutDesktopAction</class> <name>CheckInOut</name> <filename>__AlfrescoCheckInOut.exe</filename> </action> <action> <class>org.alfresco.filesys.smb.server.repo.desk.JavaScriptDesktopAction</class> <name>JavaScript</name> <filename>__AlfrescoScript.exe</filename> <script>alfresco/desktop/dumpRequest.js</script> <attributes>anyFiles, multiplePaths , allowNoParams</attributes> <preprocess>confirm, copyToTarget</preprocess> </action> <action> <class>org.alfresco.filesys.smb.server.repo.desk.JavaScriptDesktopAction</class> <name>JavaScriptURL</name> <filename>__AlfrescoDetails.exe</filename> <script>alfresco/desktop/showDetails.js</script> <attributes>anyFiles</attributes> <preprocess>copyToTarget</preprocess> </action> </desktopActions> –> <!– <accessControl default="Write"> <user name="admin" access="Write"/> <address subnet="90.1.0.0" mask="255.255.0.0" access="Write"/> </accessControl> –> </filesystem> <!– AVM virtualization view of all stores/versions for WCM –> <avmfilesystem name="AVM"> <virtualView/> </avmfilesystem> </filesystems> </config> <config evaluator="string-compare" condition="Filesystem Security"> <authenticator type="passthru"> <LocalDomain/> </authenticator> </config> </alfresco-config>
<?xml version='1.0' encoding='UTF-8'?> <!DOCTYPE beans PUBLIC '-//SPRING//DTD BEAN//EN' 'http://www.springframework.org/dtd/spring-beans.dtd'> <beans> <!– The authentication component. –> <!– Jass authentication - most of the config goes somewhere else –> <bean id="authenticationComponent" class="org.alfresco.repo.security.authentication.jaas.JAASAuthenticationComponent"> <property name="realm"> <value>TEST</value> </property> <property name="jaasConfigEntryName"> <value>Alfresco</value> </property> </bean> <bean id="alfDaoImpl" class="org.springframework.transaction.interceptor.TransactionProxyFactoryBean"> <property name="proxyInterfaces"> <value> org.alfresco.repo.security.authentication.MutableAuthenticationDao </value> </property> <property name="transactionManager"> <ref bean="transactionManager" /> </property> <property name="target"> <bean class="org.alfresco.repo.security.authentication.ntlm.NullMutableAuthenticationDao" /> </property> <property name="transactionAttributes"> <props> <prop key="*">${server.transaction.mode.default}</prop> </props> </property> </bean> </beans>
14:40:09,533 DEBUG [org.alfresco.smb.protocol.auth] Passthru finding domain controller for TEST … 14:40:09,877 DEBUG [org.alfresco.smb.protocol.auth] Found 1 domain controller(s) 14:40:09,877 DEBUG [org.alfresco.smb.protocol.auth] Added passthru server [TEST\W2K3DC1:192.168.0.235:Offline:0,0] 14:40:09,986 DEBUG [org.alfresco.smb.protocol.auth] New auth session from w3kserver_1 to \\192.168.0.235\IPC$\ 14:40:09,986 DEBUG [org.alfresco.smb.protocol.auth] Trying address 192.168.0.235 14:40:09,986 DEBUG [org.alfresco.smb.protocol.auth] Connected to address 192.168.0.235 14:40:09,986 DEBUG [org.alfresco.smb.protocol.auth] Connected session, protocol : TCP/IP NetBIOS 14:40:09,986 DEBUG [org.alfresco.smb.protocol.auth] SessionFactory: Negotiated SMB dialect NT LM 0.12 14:40:10,002 DEBUG [org.alfresco.smb.protocol.auth] Passthru server online, [TEST\W2K3DC1:192.168.0.235:Online:0,0] 14:40:15,205 WARN [org.springframework.remoting.rmi.RmiRegistryFactoryBean] Could not detect RMI registry - creating new one 14:40:26,846 INFO [org.alfresco.repo.domain.schema.SchemaBootstrap] No changes were made to the schema. 14:40:29,252 INFO [org.alfresco.repo.admin.ConfigurationChecker] The Alfresco root data directory ('dir.root') is: C:\Alfresco\alf_data 14:40:29,533 INFO [org.alfresco.repo.admin.patch.PatchExecuter] Checking for patches to apply … 14:40:29,643 INFO [org.alfresco.repo.module.ModuleServiceImpl] Found 0 module(s). 14:40:29,830 DEBUG [org.alfresco.smb.protocol] Added desktop action CheckInOut 14:40:29,830 DEBUG [org.alfresco.smb.protocol] Added desktop action JavaScriptURL 14:40:29,986 DEBUG [org.alfresco.smb.protocol] Local domain name is TEST (via JNI) 14:40:29,986 DEBUG [org.alfresco.smb.protocol.auth] Passthru finding domain controller for TEST … 14:40:30,002 DEBUG [org.alfresco.smb.protocol.auth] Found 1 domain controller(s) 14:40:30,002 DEBUG [org.alfresco.smb.protocol.auth] Added passthru server [TEST\W2K3DC1:192.168.0.235:Offline:0,0] 14:40:30,002 INFO [org.alfresco.smb.protocol] CIFS server started 14:40:30,002 DEBUG [org.alfresco.smb.protocol.auth] New auth session from w3kserver_2 to \\192.168.0.235\IPC$\ 14:40:30,002 INFO [org.alfresco.smb.protocol] FTP server started 14:40:30,002 DEBUG [org.alfresco.smb.protocol.auth] Trying address 192.168.0.235 14:40:30,002 INFO [org.alfresco.smb.protocol] NFS server NOT started 14:40:30,002 DEBUG [org.alfresco.smb.protocol.auth] Connected to address 192.168.0.235 14:40:30,002 DEBUG [org.alfresco.smb.protocol.auth] Connected session, protocol : TCP/IP NetBIOS 14:40:30,002 DEBUG [org.alfresco.smb.protocol.auth] SessionFactory: Negotiated SMB dialect NT LM 0.12 14:40:30,002 DEBUG [org.alfresco.smb.protocol.auth] Passthru server online, [TEST\W2K3DC1:192.168.0.235:Online:0,0] 14:40:30,018 INFO [org.alfresco.service.descriptor.DescriptorService] Alfresco JVM - v1.5.0_08-b03; maximum heap size 506,313MB 14:40:30,018 INFO [org.alfresco.service.descriptor.DescriptorService] Alfresco started (Community Network): Current version 2.1.0 (R1 443) schema 62 - Installed version 2.1.0 (R1 443) schema 62 14:40:30,111 INFO [org.alfresco.smb.protocol] SMB Server W3KSERVER_A starting 14:40:30,111 INFO [org.alfresco.smb.protocol] GUID 8f6645ae-1766-3622-bdfc-420fe6990391 14:40:30,111 INFO [org.alfresco.smb.protocol] Using authenticator org.alfresco.filesys.server.auth.passthru.PassthruAuthenticator 14:40:30,111 INFO [org.alfresco.smb.protocol] Server timezone Europe/Berlin, offset from UTC = -1hrs 14:40:30,111 INFO [org.alfresco.smb.protocol] Shares: 14:40:30,127 INFO [org.alfresco.smb.protocol] [Alfresco,DISK,,[Alfresco,workspace://SpacesStore/bb81fb57-3a73-11dc-bc20-21e3719ab596]] [Alfresco,workspace://SpacesStore/bb81fb57-3a73-11dc-bc20-21e3719ab596] 14:40:30,127 INFO [org.alfresco.smb.protocol] [AVM,DISK,,[AVM,VirtualView]] [AVM,VirtualView] 14:40:30,127 INFO [org.alfresco.smb.protocol] Add Share [IPC$,IPC$,,Admin,Hidden] : true 14:40:30,596 DEBUG [org.alfresco.smb.protocol] Win32 NetBIOS Available LANAs: 0 14:40:30,611 DEBUG [org.alfresco.smb.protocol] Win32 NetBIOS server W3KSERVER_A (using Winsock) 14:40:36,658 DEBUG [org.alfresco.smb.protocol] Win32 NetBIOS created session handler on LANA 0 14:40:36,674 DEBUG [org.alfresco.smb.protocol] Win32 NetBIOS host announcer enabled on LANA 0 14:40:36,674 DEBUG [org.alfresco.smb.protocol] Waiting for Win32 NetBIOS session request (Winsock) … 14:40:36,690 DEBUG [org.alfresco.smb.protocol.mailslot] HostAnnouncer: Announced host W3KSERVER_A 14:40:36,690 DEBUG [org.alfresco.smb.protocol] Win32 NetBIOS register listener for LANA 0 14:40:41,690 DEBUG [org.alfresco.smb.protocol.mailslot] HostAnnouncer: Announced host W3KSERVER_A 14:40:51,690 DEBUG [org.alfresco.smb.protocol.mailslot] HostAnnouncer: Announced host W3KSERVER_A 14:41:11,690 DEBUG [org.alfresco.smb.protocol.mailslot] HostAnnouncer: Announced host W3KSERVER_A 14:41:51,690 DEBUG [org.alfresco.smb.protocol.mailslot] HostAnnouncer: Announced host W3KSERVER_A 14:43:11,705 DEBUG [org.alfresco.smb.protocol.mailslot] HostAnnouncer: Announced host W3KSERVER_A 14:45:51,705 DEBUG [org.alfresco.smb.protocol.mailslot] HostAnnouncer: Announced host W3KSERVER_A
14:18:41,829 ERROR [smb.protocol.auth] No valid CIFS authentication combination available 14:18:41,829 ERROR [smb.protocol.auth] Either enable Kerberos support or use an authentication component that supports MD4 hashed passwords 14:18:41,833 ERROR [alfresco.smb.protocol] CIFS server configuration error, Invalid CIFS authenticator configuration org.alfresco.error.AlfrescoRuntimeException: Invalid CIFS authenticator configuration at org.alfresco.filesys.server.auth.EnterpriseCifsAuthenticator.initialize(EnterpriseCifsAuthenticator.java:348)
smbclient -d10 -U foo \\\\10.1.100.100\\alfresco … snip … server didn't supply a full spnego negprot … snip … SPNEGO login failed: Unexpected information received session setup failed: NT_STATUS_INVALID_PARAMETER
14:37:20,370 DEBUG [smb.protocol.auth] Added passthru server [myname.server.org:10.1.1.33:Offline:0,0] 14:37:20,399 DEBUG [smb.protocol.auth] New auth session from alfresco-test_1 to \\10.1.1.33\IPC$\ 14:37:20,422 DEBUG [smb.protocol.auth] Trying address 10.1.1.33 14:37:20,425 DEBUG [smb.protocol.auth] Connected to address 10.1.1.33 14:37:20,426 DEBUG [smb.protocol.auth] Connected session, protocol : TCP/IP NetBIOS 14:37:20,438 DEBUG [smb.protocol.auth] SessionFactory: Negotiated SMB dialect NT LM 0.12 14:37:20,445 DEBUG [smb.protocol.auth] Passthru server online, [myname.server.org:10.1.1.33:Online:0,0]
Just to confirm. You have sso working via IE and not CIFS, correct?
What is your authenticator type set to in file-servers?
<config evaluator="string-compare" condition="Filesystem Security"> <authenticator type="alfresco"/> </config>
Just FYI,we got it working (both IE and CIFS) after having checked AD user permissions.So now we're able to have NTLM SSO in both environments, which is cool indeed 😉Gab
<filter> <filter-name>Authentication Filter</filter-name> <!– <filter-class>org.alfresco.web.app.servlet.AuthenticationFilter</filter-class> –> <!– For Novell IChain support use the following filter –> <!– <filter-class>org.alfresco.web.app.servlet.NovellIChainsHTTPRequestAuthenticationFilter</filter-class> –> <!– For NTLM authentication support use the following filter –> <filter-class>org.alfresco.web.app.servlet.NTLMAuthenticationFilter</filter-class> </filter> <filter> <filter-name>WebDAV Authentication Filter</filter-name> <!– <filter-class>org.alfresco.repo.webdav.auth.AuthenticationFilter</filter-class> –> <!– For NTLM authentication support use the following filter –> <filter-class>org.alfresco.repo.webdav.auth.NTLMAuthenticationFilter</filter-class> </filter> <filter> <filter-name>Admin Authentication Filter</filter-name> <filter-class>org.alfresco.web.app.servlet.AdminAuthenticationFilter</filter-class> </filter>
<?xml version='1.0' encoding='UTF-8'?> <!DOCTYPE beans PUBLIC '-//SPRING//DTD BEAN//EN' 'http://www.springframework.org/dtd/spring-beans.dtd'> <beans> <bean id="authenticationDao" class="org.alfresco.repo.security.authentication.ntlm.NullMutableAuthenticationDao" /> <bean id="authenticationComponent" class="org.alfresco.repo.security.authentication.ntlm.NTLMAuthenticationComponentImpl"> <property name="personService"> <ref bean="personService" /> </property> <property name="nodeService"> <ref bean="nodeService" /> </property> <property name="transactionService"> <ref bean="transactionComponent" /> </property> <property name="guestAccess"> <value>false</value> </property> <!– Name of the windows domain \ domain controller hostname or ip –> <property name="servers"> <value>WINDOWSDOMAIN\domainControllerIPorHostname</value> </property> </bean> </beans>
<alfresco-config area="file-servers"> <config evaluator="string-compare" condition="CIFS Server"> <serverEnable enabled="true" /> <!– Insert here IP or hostname of this alfresco server, and the NT domain name in which you want to integrate–> <host name="alfrescoServerIPorHostname" domain="WINDOWSDOMAIN" /> <comment>Alfresco CIFS Server</comment> <!– Set to the broadcast mask for the subnet –> <broadcast>255.255.255.255</broadcast> <sessionDebug flags="Negotiate,Socket" /> </config> <config evaluator="string-compare" condition="Filesystems" replace="true"> <filesystems> <filesystem name="Alfresco"> <store>workspace://SpacesStore</store> <rootPath>/app:company_home</rootPath> <!– Add a URL file to each folder that links back to the web client –> <urlFile> <filename>__Alfresco.url</filename> <webpath>http://${localname}:8080/alfresco/</webpath> </urlFile> <!– Mark locked files as offline –> <offlineFiles /> <!– Desktop actions –> <desktopActions> <global> <path>alfresco/desktop/Alfresco.exe</path> <webpath>http://${localname}:8080/alfresco/</webpath> </global> <action> <class>org.alfresco.filesys.smb.server.repo.desk.CheckInOutDesktopAction</class> <name>CheckInOut</name> <filename>__CheckInOut.exe</filename> </action> <action> <class>org.alfresco.filesys.smb.server.repo.desk.JavaScriptDesktopAction</class> <name>JavaScriptURL</name> <filename>__ShowDetails.exe</filename> <script>alfresco/desktop/showDetails.js</script> <attributes>anyFiles</attributes> <preprocess>copyToTarget</preprocess> </action> </desktopActions> </filesystem> <!– AVM virtualization view of all stores/versions for WCM –> <avmfilesystem name="AVM"> <virtualView /> </avmfilesystem> </filesystems> </config> <!– Authenticator should be of type alfresco –> <config evaluator="string-compare" condition="Filesystem Security" replace="true"> <authenticator type="alfresco" /> </config> </alfresco-config>
<?xml version='1.0' encoding='UTF-8'?> <!DOCTYPE beans PUBLIC '-//SPRING//DTD BEAN//EN' 'http://www.springframework.org/dtd/spring-beans.dtd'> <beans> <bean id="ldapInitialDirContextFactory" class="org.alfresco.repo.security.authentication.ldap.LDAPInitialDirContextFactoryImpl"> <property name="initialDirContextEnvironment"> <map> <!– The LDAP provider –> <entry key="java.naming.factory.initial"> <value>com.sun.jndi.ldap.LdapCtxFactory</value> </entry> <!– The url to the LDAP server –> <!– Note you can use space separated urls - they will be tried in turn until one works –> <!– This could be used to authenticate against one or more ldap servers (you will not know which one ….) –> <entry key="java.naming.provider.url"> <value>ldap://ldapserverurl:389</value> </entry> <!– The authentication mechanism to use –> <!– Some sasl authentication mechanisms may require a realm to be set –> <!– java.naming.security.sasl.realm –> <!– The available options will depend on your LDAP provider –> <entry key="java.naming.security.authentication"> <value>simple</value> </entry> <!– The id of a user who can read group and user information –> <entry key="java.naming.security.principal"> <value>WINDOWSDOMAIN\directoryadmin</value> </entry> <!– The password for the user defined above –> <entry key="java.naming.security.credentials"> <value>directoryadminpassword</value> </entry> </map> </property> </bean> <!– Ldap Syncronisation support –> <!– There can be more than one stack of beans that import users or groups. For example, it may be easier to have a version of ldapPeopleExportSource, and associated beans, for each sub-tree of your ldap directory from which you want to import users. You could then limit users to be imported from two or more sub tress and ignore users found else where. The same applies to the import of groups. –> <!– Extract user information from LDAP and transform this to XML –> <bean id="ldapPeopleExportSource" class="org.alfresco.repo.security.authentication.ldap.LDAPPersonExportSource"> <!– The query to select objects that represent the users to import. For Active Directory: (objectclass=user) –> <property name="personQuery"> <value>(objectclass=user)</value> </property> <!– The search base restricts the LDAP query to a sub section of tree on the LDAP server. In this particular example we imported only the IT Department users. –> <property name="searchBase"> <value>ou=IT Department,dc=mycompany,dc=org</value> </property> <!– The unique identifier for the user.THIS MUST MATCH WHAT THE USER TYPES IN AT THE LOGIN PROMPT For simple LDAP authentication this is likely to be "cn" or, less friendly, "distinguishedName" In Active Directory this is most likely to be "sAMAccountName". This property is mandatory and must appear on all users found by the query defined above. –> <property name="userIdAttributeName"> <value>sAMAccountName</value> </property> <!– Services –> <property name="LDAPInitialDirContextFactory"> <ref bean="ldapInitialDirContextFactory" /> </property> <property name="personService"> <ref bean="personService"></ref> </property> <property name="namespaceService"> <ref bean="namespaceService" /> </property> <!– This property defines a mapping between attributes held on LDAP user objects and the properties of user objects held in the repository. The key is the QName of an attribute in the repository, the value is the attribute name from the user/ inetOrgPerson/.. object in the LDAP repository. –> <property name="attributeMapping"> <map> <entry key="cm:userName"> <!– Must match the same attribute as userIdAttributeName –> <value>sAMAccountName</value> </entry> <entry key="cm:firstName"> <!– Active Directory: "givenName" –> <value>givenName</value> </entry> <entry key="cm:lastName"> <!– Active Directory: "sn" –> <value>sn</value> </entry> <entry key="cm:email"> <!– Active Directory: "???" –> <value>mail</value> </entry> <entry key="cm:organizationId"> <!– Active Directory: "???" –> <value>o</value> </entry> <!– Always use the default –> <entry key="cm:homeFolderProvider"> <null /> </entry> </map> </property> <!– Set a default home folder provider. We configured it to create user home folder under "User Homes" space–> <property name="attributeDefaults"> <map> <entry key="cm:homeFolderProvider"> <value>userHomesHomeFolderProvider</value> </entry> </map> </property> </bean> <!– Extract group information from LDAP and transform this to XML –> <bean id="ldapGroupExportSource" class="org.alfresco.repo.security.authentication.ldap.LDAPGroupExportSource"> <!– The query to select objects that represent the groups to import. For Active Directory: (objectclass=group) –> <property name="groupQuery"> <value>(objectclass=group)</value> </property> <!– The seach base restricts the LDAP query to a sub section of tree on the LDAP server. We reduced it to IT departments internal groups –> <property name="searchBase"> <value>ou=IT Department,dc=mycompany,dc=org</value> </property> <!– The unique identifier for the user. This must match the userIdAttributeName on the ldapPeopleExportSource bean above. –> <property name="userIdAttributeName"> <value>sAMAccountName</value> </property> <!– An attribute that is a unique identifier for each group found. This is also the name of the group with the current group implementation.This is mandatory for any groups found. Active Directory: "cn" –> <property name="groupIdAttributeName"> <value>cn</value> </property> <!– The objectClass attribute for group members. For each member of a group, the distinguished name is given.The object is looked up by its DN. If the object is of this class it is treated as a group. –> <property name="groupType"> <value>group</value> </property> <!– The objectClass attribute for person members.For each member of a group, the distinguished name is given.The object is looked up by its DN. If the object is of this class it is treated as a person –> <property name="personType"> <value>user</value> </property> <property name="LDAPInitialDirContextFactory"> <ref bean="ldapInitialDirContextFactory" /> </property> <property name="namespaceService"> <ref bean="namespaceService" /> </property> <!– The repeating attribute on group objects (found by query or as sub groups) used to define membership of the group. This is assumed to hold distinguished names oF other groups or users/people; the above types are used to determine this. Active Directory: "member" –> <property name="memberAttribute"> <value>member</value> </property> <property name="authorityDAO"> <ref bean="authorityDAO" /> </property> </bean> <!– Job definitions to import LDAP people and groups –> <!– The triggers register themselves with the scheduler –> <!– You may comment in the default scheduler to enable these triggers –> <!– If a cron base trigger is what you want seee scheduled-jobs-context.xml for examples. –> <!– Trigger to load poeple Note you can have more than one initial (context, trigger, import job and export source) seT. This would allow you to load people from more than one ldap store –> <bean id="ldapPeopleTrigger" class="org.alfresco.util.TriggerBean"> <property name="jobDetail"> <bean id="ldapPeopleJobDetail" class="org.springframework.scheduling.quartz.JobDetailBean"> <property name="jobClass"> <value>org.alfresco.repo.importer.ImporterJob</value> </property> <property name="jobDataAsMap"> <map> <entry key="bean"> <ref bean="ldapPeopleImport" /> </entry> </map> </property> </bean> </property> <!– Start after 5 minutes of starting the repository –> <property name="startDelay"> <value>180000</value> </property> <!– Repeat every hour –> <property name="repeatInterval"> <value>3600000</value> </property> <property name="scheduler"> <ref bean="schedulerFactory" /> </property> </bean> <bean id="ldapGroupTrigger" class="org.alfresco.util.TriggerBean"> <property name="jobDetail"> <bean id="ldapGroupJobDetail" class="org.springframework.scheduling.quartz.JobDetailBean"> <property name="jobClass"> <value>org.alfresco.repo.importer.ImporterJob</value> </property> <property name="jobDataAsMap"> <map> <entry key="bean"> <ref bean="ldapGroupImport" /> </entry> </map> </property> </bean> </property> <!– Start after 5 minutes of starting the repository –> <property name="startDelay"> <value>180000</value> </property> <!– Repeat every hour –> <property name="repeatInterval"> <value>3600000</value> </property> <property name="scheduler"> <ref bean="schedulerFactory" /> </property> </bean> <!– The bean that imports xml describing people –> <bean id="ldapPeopleImport" class="org.alfresco.repo.importer.ExportSourceImporter"> <property name="importerService"> <ref bean="importerComponentWithBehaviour" /> </property> <property name="transactionService"> <ref bean="transactionComponent" /> </property> <property name="authenticationComponent"> <ref bean="authenticationComponent" /> </property> <property name="exportSource"> <ref bean="ldapPeopleExportSource" /> </property> <!– The store that contains people - this should not be changed –> <property name="storeRef"> <value>${spaces.store}</value> </property> <!– The location of people nodes within the store defined above - this should not be changed –> <property name="path"> <value>/${system.system_container.childname}/${system.people_container.childname}</value> </property> <!– If true, clear all existing people before import, if false update/add people from the xml –> <property name="clearAllChildren"> <value>false</value> </property> <property name="nodeService"> <ref bean="nodeService" /> </property> <property name="searchService"> <ref bean="searchService" /> </property> <property name="namespacePrefixResolver"> <ref bean="namespaceService" /> </property> <property name="caches"> <set> <ref bean="permissionsAccessCache" /> </set> </property> </bean> <!– The bean that imports xml descibing groups –> <bean id="ldapGroupImport" class="org.alfresco.repo.importer.ExportSourceImporter"> <property name="importerService"> <ref bean="importerComponentWithBehaviour" /> </property> <property name="transactionService"> <ref bean="transactionComponent" /> </property> <property name="authenticationComponent"> <ref bean="authenticationComponent" /> </property> <property name="exportSource"> <ref bean="ldapGroupExportSource" /> </property> <!– The store that contains group information - this should not be changed –> <property name="storeRef"> <value>${alfresco_user_store.store}</value> </property> <!– The location of group information in the store above - this should not be changed –> <property name="path"> <value>/${alfresco_user_store.system_container.childname}/${alfresco_user_store.authorities_container.childname}</value> </property> <!– If true, clear all existing groups before import, if false update/add groups from the xml –> <property name="clearAllChildren"> <value>true</value> </property> <property name="nodeService"> <ref bean="nodeService" /> </property> <property name="searchService"> <ref bean="searchService" /> </property> <property name="namespacePrefixResolver"> <ref bean="namespaceService" /> </property> <!– caches to clear on import of groups –> <property name="caches"> <set> <ref bean="userToAuthorityCache" /> <ref bean="permissionsAccessCache" /> </set> </property> <!– userToAuthorityCache –> </bean> </beans>
<!– Task scheduler –> <!– Triggers should not appear here - the scheduler should be injected into the trigger definition –> <!– This bean should not need to appear else where in extension configuration –> <!– Task scheduler –> <!– Triggers should not appear here - the scheduler should be injected into the trigger definition –> <!– This bean should not need to apear else where in extension configuration –> <bean id="schedulerFactory" class="org.springframework.scheduling.quartz.SchedulerFactoryBean"> <property name="waitForJobsToCompleteOnShutdown"> <value>true</value> </property> <property name="configLocation"> <value>classpath:alfresco/domain/quartz.properties</value> </property> <property name="schedulerName"> <value>DefaultScheduler</value> </property> <!– Do not auto start the scheduler - this is done at the end of the bootstrap process –> <property name="autoStartup"> <value>true</value> </property> </bean>
log4j.logger.org.alfresco.smb.protocol=debug log4j.logger.org.alfresco.smb.protocol.auth=debug log4j.logger.org.alfresco.repo.action=debug log4j.org.alfresco.repo.security.authentication.ldap=debug log4j.logger.org.alfresco.acegi=debug # Thx SCHNEIKA log4j.logger.org.alfresco.repo.security.authentication.ldap=debug
log4j.logger.org.alfresco.repo.security.authentication.ldap=debug
javax.faces.el.EvaluationException: Cannot get value for expression '#{!NavigationBean.isGuest && NavigationBean.guestHomeVisible}' caused by: javax.servlet.jsp.el.ELException: An error occurred while getting property "guestHomeVisible" from an instance of class org.alfresco.web.bean.NavigationBean
13:19:49,536 User:System ERROR [alfresco.smb.protocol] Failed to get local domain/workgroup name, using default of WORKGROUP 13:19:49,537 User:System ERROR [alfresco.smb.protocol] (This may be due to firewall settings or incorrect <broadcast> setting) 13:19:49,572 User:System ERROR [smb.protocol.auth] No valid CIFS authentication combination available 13:19:49,573 User:System ERROR [smb.protocol.auth] Either enable Kerberos support or use an authentication component that supports MD4 hashed passwords 13:19:49,575 User:System ERROR [alfresco.smb.protocol] CIFS server configuration error, Invalid CIFS authenticator configuration org.alfresco.error.AlfrescoRuntimeException: Invalid CIFS authenticator configuration at org.alfresco.filesys.server.auth.EnterpriseCifsAuthenticator.initialize(EnterpriseCifsAuthenticator.java:378) at org.alfresco.filesys.server.config.ServerConfiguration.setAuthenticator(ServerConfiguration.java:3503) at org.alfresco.filesys.server.config.ServerConfiguration.processSecurityConfig(ServerConfiguration.java:2453) at org.alfresco.filesys.server.config.ServerConfiguration.init(ServerConfiguration.java:689) at org.alfresco.filesys.server.config.ServerConfiguration.onBootstrap(ServerConfiguration.java:4200) at org.alfresco.util.AbstractLifecycleBean.onApplicationEvent(AbstractLifecycleBean.java:62) at org.springframework.context.event.SimpleApplicationEventMulticaster$1.run(SimpleApplicationEventMulticaster.java:77) at org.springframework.core.task.SyncTaskExecutor.execute(SyncTaskExecutor.java:49) at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:75) at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:241) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:349) at org.springframework.web.context.support.AbstractRefreshableWebApplicationContext.refresh(AbstractRefreshableWebApplicationContext.java:156) at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:246) at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:184) at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:49) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3764) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4216) 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) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:295) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:433)
15:57:48,572 ERROR [org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/alfresco].[Faces Servlet]] Servlet.service() for servlet Faces Servlet threw exception net.sf.acegisecurity.AuthenticationServiceException: Failed to open passthru auth session at org.alfresco.repo.security.authentication.ntlm.NTLMAuthenticationComponentImpl.authenticatePassthru(NTLMAuthenticationComponentImpl.java:793) at org.alfresco.repo.security.authentication.ntlm.NTLMAuthenticationComponentImpl.authenticate(NTLMAuthenticationComponentImpl.java:550) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) 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:281) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:187) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:154) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:107) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:176) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:210) at $Proxy18.authenticate(Unknown Source) at org.alfresco.web.app.servlet.NTLMAuthenticationFilter.processType1(NTLMAuthenticationFilter.java:523) at org.alfresco.web.app.servlet.NTLMAuthenticationFilter.doFilter(NTLMAuthenticationFilter.java:395) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:210) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:870) at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665) at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528) at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:685) at java.lang.Thread.run(Thread.java:595)