06-06-2018 06:07 AM
Hi, I'm testing Alfresco Community Edition on Ubuntu Server 18.04. I'm just struggling to get Active Directory integration working.
From the documentation: https://docs.alfresco.com/community/tasks/auth-example-oneldap-ad.html I have added following lines to /opt/alfresco-community/tomcat/shared/classes/alfresco-global.properties:
authentication.chain=ldap1:ldap-ad
ntlm.authentication.sso.enabled=false
ldap.authentication.allowGuestLogin=false
ldap.authentication.userNameFormat=%s@domain.com
ldap.authentication.java.naming.provider.url=ldap://*******.intranet.laarne.be:389
ldap.authentication.defaultAdministratorUserNames=Administrator,superuser
ldap.synchronization.java.naming.security.principal=********@intranet.laarne.be
ldap.synchronization.java.naming.security.credentials=secret
ldap.synchronization.groupSearchBase=CN=GG_ALFRESCO,OU=Groups,OU=Gemeentebestuur Laarne,dc=INTRANET,dc=LAARNE,dc=BE
ldap.synchronization.userSearchBase=OU=Gemeentebestuur Laarne,dc=INTRANET,dc=LAARNE,dc=BE
But when trying to log in with a user, which is member of the GG_ALFRESCO group, I'm getting
"Your authentication details haven't been recognized or Alfresco Content Services may not be available at this time."
06-06-2018 09:43 AM
1. It's the recommended way for Alfresco Community
2. It's the right file
3. Add following parameter to custom-log4j.properties file:
log4j.logger.org.alfresco.repo.security.authentication.ldap=DEBUG
Additional information: https://docs.alfresco.com/community/concepts/auth-ldap-ADtips.html
06-14-2018 08:04 AM
Thanks a lot Angel,
Where is the custom-log4j.properties file located? I'm searching everywhere, but can't seem to find the file.
where will the output for this logging be produced?
06-14-2018 08:10 AM
/opt/alfresco/tomcat/shared/classes/alfresco/extension/custom-log4j.properties (create the file if it doesn't exist)
/opt/alfresco/tomcat/logs/catalina.out
/opt/alfresco/tomcat/logs/alfresco.log
There should be equivalent paths in Windows based installations.
06-14-2018 08:47 AM
Hmm, I don't seem to have the /extenstion directory
Explore our Alfresco products with the links below. Use labels to filter content by product module.