09-03-2021 09:40 AM
Hello,
I'm having trouble getting LDAP ActiveDirectory authentication to work on my Nuxeo Server instance (I configured the options using the nuxeo.conf file) on Linux The error message in the web interface is "Failed to connect to authentication database". The connection with the "Emergency Administrator" account works After modifying the Log4j configuration as described in the documentation, there is only one line corresponding to the LDAP request:
2021-09-03T11:43:21,029 DEBUG [http-nio-0.0.0.0-8080-exec-8] [org.nuxeo.ecm.directory.ldap.LDAPSession] LDAPSession.getLdapEntry(Nuxeo, false): LDAP search base='DC=myDomain,DC=local' filter='(&(sAMAccountName={0})(&(objectClass=person)(sAMAccountName=*))' args='user' scope='2' [LDAPSession for directory ldapUserDirectory]
This request is also visible in the Active Directory server logs This request running on the Nuxeo Linux server from Apache Directory Studio correctly returns the account information. I think the configuration is correct because this same instance was installed on a Windows server and it works (there are other lines on the response to the LDAP request unlike the Linux instance)
Additional details:
The environment used is :
Thanks for your help Jean-Christophe LE CAM
09-07-2021 12:14 PM
Hello,
After modifying the nuxeo.conf file, the integration with the Active Directory works on the Linux server.
The solution was to change the value of the "nuxeo.ldap.user.searchBaseDn" parameter
It seems that this parameter is not interpreted in the same way under Linux and Windows.
Perhaps it would be necessary to have a validity check on this parameter at the start of the server
Have a nice day,
Jean-Christophe LE CAM
09-07-2021 12:14 PM
Hello,
After modifying the nuxeo.conf file, the integration with the Active Directory works on the Linux server.
The solution was to change the value of the "nuxeo.ldap.user.searchBaseDn" parameter
It seems that this parameter is not interpreted in the same way under Linux and Windows.
Perhaps it would be necessary to have a validity check on this parameter at the start of the server
Have a nice day,
Jean-Christophe LE CAM
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.