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.
$HOME_ALFRESCO/tomcat/share/classes
### database connection properties ### db.driver=org.gjt.mm.mysql.Driver db.username=alfresco db.password=admin db.name=alfresco db.url=jdbc:mysql://localhost:3306/${db.name}
lfresco-global.properties
### LDAP ### authentication.chain=ldap-ad1:ldap-ad # This flag enables use of this LDAP subsystem for authentication. It may be # that this subsytem should only be used for synchronization, in which case # this flag should be set to false. ldap.authentication.active=true # # This properties file brings together the common options for LDAP authentication rather than editing the bean definitions # ldap.authentication.allowGuestLogin=true # How to map the user id entered by the user to taht passed through to LDAP # In Active Directory, this can either be the user principal name (UPN) or DN. # UPNs are in the form <sAMAccountName>@domain and are held in the userPrincipalName attribute of a user # ldap.authentication.userNameFormat=cn\=%s,cn\=users,dc\=mondomaine,dc\=lan1 ldap.authentication.userNameFormat=%s@mondomaine.lan1 # The LDAP context factory to use ldap.authentication.java.naming.factory.initial=com.sun.jndi.ldap.LdapCtxFactory # The URL to connect to the LDAP server ldap.authentication.java.naming.provider.url=ldap://192.168.44.93:389 # The authentication mechanism to use for password validation ldap.authentication.java.naming.security.authentication=simple # Escape commas entered by the user at bind time # Useful when using simple authentication and the CN is part of the DN and contains commas ldap.authentication.escapeCommasInBind=false # Escape commas entered by the user when setting the authenticated user # Useful when using simple authentication and the CN is part of the DN and contains commas, and the escaped \, is # pulled in as part of an LDAP sync # If this option is set to true it will break the default home folder provider as space names can not contain \ ldap.authentication.escapeCommasInUid=false # Comma separated list of user names who should be considered administrators by default ldap.authentication.defaultAdministratorUserNames=Manager
16:03:32,468 Userystem WARN [security.sync.ChainingUserRegistrySynchronizer] Failed initial synchronize with user registriesorg.alfresco.repo.security.authentication.AuthenticationException: 10100000 Unable to connect to LDAP Server; check LDAP configuration
ldap.synchronization.java.naming.security.principal The LDAP user to connect as to do the export operation, if one is required by the above authentication mechanism. ldap.synchronization.java.naming.security.credentials The password for this user, if required.
authentication.chain=alfrescoNtlm1:alfrescoNtlm,ldap-ad1:ldap-ad
[/u01/alfresco-3.4.c/tomcat/shared/classes/alfresco-global.properties] … authentication.chain=alfrescoNtlm:alfrescoNtlm,ldap1:ldap …
tomcat/shared/classes/alfresco/extension/subsystems/Authentication/ldap/ldap1
cp tomcat/webapps/alfresco/WEB-INF/classes/alfresco/subsystems/Authentication/ldap/ldap-authentication-context.xml tomcat/shared/classes/alfresco/extension/subsystems/Authentication/ldap/ldap1/ldap-authentication-context.xml cp tomcat/webapps/alfresco/WEB-INF/classes/alfresco/subsystems/Authentication/ldap/default-authentication.properties tomcat/shared/classes/alfresco/extension/subsystems/Authentication/ldap/ldap1/ldap-authentication.properties
ldap.authentication.active=true ldap.authentication.userNameFormat=uid\=%s,ou\=people,dc\=[xxx],dc\=[xx] ldap.authentication.java.naming.provider.url=ldap://[serveur]:389 ldap.authentication.java.naming.security.authentication=simple ldap.authentication.escapeCommasInBind=false ldap.authentication.escapeCommasInUid=false ldap.authentication.defaultAdministratorUserNames=sandrine.rivoire ldap.synchronization.active=true ldap.synchronization.java.naming.security.principal=ou\=[xxx],dc\=[xxx],dc\=[xx] ldap.synchronization.java.naming.security.credentials=[passwd] ldap.synchronization.queryBatchSize=1000 ldap.synchronization.attributeBatchSize=0 ldap.synchronization.groupQuery=(cn\=*) ldap.synchronization.groupDifferentialQuery=(cn\=*) ldap.synchronization.personQuery=(&((eduPersonAffiliation\=member)(eduPersonAffiliation\=employee))) ldap.synchronization.personDifferentialQuery=(&((eduPersonAffiliation\=member)(eduPersonAffiliation\=employee))) ldap.synchronization.groupSearchBase=ou\=groups,dc\=[xxx],dc\=[xx] ldap.synchronization.userSearchBase=ou\=people,dc\=u-psud,dc\=fr ldap.synchronization.modifyTimestampAttributeName=modifyTimestamp ldap.synchronization.timestampFormat=yyyyMMddHHmmss'Z' ldap.synchronization.userIdAttributeName=uid ldap.synchronization.userFirstNameAttributeName=givenName ldap.synchronization.userLastNameAttributeName=sn ldap.synchronization.userEmailAttributeName=mail ldap.synchronization.userOrganizationalIdAttributeName=o ldap.synchronization.defaultHomeFolderProvider=userHomesHomeFolderProvider ldap.synchronization.groupIdAttributeName=cn ldap.synchronization.groupDisplayNameAttributeName=description ldap.synchronization.groupType=groupOfNames ldap.synchronization.personType=inetOrgPerson ldap.synchronization.groupMemberAttributeName=member ldap.synchronization.enableProgressEstimation=true
cp tomcat//webapps/alfresco/WEB-INF/classes/alfresco/subsystems/Synchronization/default/default-synchronization-context.xml tomcat/shared/classes/alfresco/extension/subsystems/Synchronization/ldap/ldap1/ldap-synchronization-context.xml cp tomcat//webapps/alfresco/WEB-INF/classes/alfresco/subsystems/Synchronization/default/default-synchronization.properties tomcat/shared/classes/alfresco/extension/subsystems/Synchronization/ldap/ldap1/ldap-synchronization.properties
cp tomcat/shared/classes/alfresco/extension/subsystems/Authentication/ldap/ldap1/ldap-authentication.properties tomcat/shared/classes/alfresco/extension/subsystems/Synchronization/ldap/ldap1/ldap-authentication.properties
synchronization.synchronizeChangesOnly=true synchronization.import.cron=0 0 0 * * ? synchronization.syncWhenMissingPeopleLogIn=true synchronization.syncOnStartup=true synchronization.autoCreatePeopleOnLogin=true synchronization.loggingInterval=100 synchronization.workerThreads=2