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."
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
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?
/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.
Hmm, I don't seem to have the /extenstion directory
Ask for and offer help to other Alfresco Content Services Users and members of the Alfresco team.
Related links:
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.