• I can't log in with AD authentication

  • OpenKM has many interesting features, but requires some configuration process to show its full potential.
OpenKM has many interesting features, but requires some configuration process to show its full potential.
Forum rules: Please, before asking something see the documentation wiki or use the search feature of the forum. And remember we don't have a crystal ball or mental readers, so if you post about an issue tell us which OpenKM are you using and also the browser and operating system version. For more info read How to Report Bugs Effectively.
 #54491  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)
 #54512  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
 #54714  by jllort
 
Hi MarcoOliveira, if you have an issue with AD I suggest to open a fresh post with your specific error.

About Us

OpenKM is part of the management software. A management software is a program that facilitates the accomplishment of administrative tasks. OpenKM is a document management system that allows you to manage business content and workflow in a more efficient way. Document managers guarantee data protection by establishing information security for business content.