Page 1 of 1

I can't log in with AD authentication

PostPosted:Thu Nov 09, 2023 11:01 am
by m.pasqualoni
Good morning.

I'm testing OpenKM Community Edition.
To integrate it with our Active Directory I followed the guide available at:

https://www.openkm.com/wiki/index.php/A ... OpenKM_6.2

By entering administration I can see all the users present in AD.

If I try to connect using my domain user and password, I am unable to connect.

In Catalina's logs I read:
Code: Select all
106994 09-Nov-2023 11:26:10.594 SERIOUS [http-nio-0.0.0.0-8080-exec-9] org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter An internal error occurred while trying to authenticate the user .
106995 org.springframework.security.authentication.InternalAuthenticationServiceException: [LDAP: error code 32 - 0000208D: NameErr: DSID-03100245, problem 2001 (NO_OBJECT), data 0, best match of:
106996 'DC=mydomain,DC=local'
106997 ]; nested exception is javax.naming.NameNotFoundException: [LDAP: error code 32 - 0000208D: NameErr: DSID-03100245, problem 2001 (NO_OBJECT), data 0, best match of:
106998 'DC=mydomain,DC=local'
106999 ]; remaining name 'cn=Users'
Can you help me figure out what's wrong?

my version of OpenKM is: 6.3.12 (build: a3587ce)

Re: I can't log in with AD authentication

PostPosted:Sat Nov 18, 2023 8:11 am
by jllort
¿ The distinguished name of your domain is "DC=mydomain,DC=local" ?

Re: I can't log in with AD authentication

PostPosted:Sat Nov 18, 2023 8:44 am
by m.pasqualoni
Hi, no I omitted the company name to write the post, in the mydomain configuration it was replaced with the correct name, which works when reading the users, they are all there in the Users tab in the administration panel, but the login in OpenKM doesn't work.

Thank you

Re: I can't log in with AD authentication

PostPosted:Mon Nov 20, 2023 10:04 am
by jllort
Look at google for the error -> for example -> https://stackoverflow.com/questions/106 ... or-code-32

Look for some typo in the XML

Re: I can't log in with AD authentication

PostPosted:Mon Nov 20, 2023 10:16 am
by m.pasqualoni
Ok, thanks for the tip, I'll try to look into it.

Re: I can't log in with AD authentication

PostPosted:Tue May 07, 2024 2:35 am
by liquoriceweird
In the right-hand pane, double-click “Audit logon events” then check Success and Failure then hit OK.