• LDAP Auth, local roles

  • 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.
 #41688  by sgrunt91
 
Hi,

I've added LDAP auth to my OpenKM, but I don't have ROLE_ADMIN or ROLE_USER in my LDAP because I don't have abilities to modify it.

I've added:
Code: Select all
<beans:property name="defaultRole" value="ROLE_USER" />
To my conf and I can connect to OpenKM with LDAP users.

But is it possible to define local roles with LDAP users in them ? It would be an essential feature for me, if not I can't use OpenKM.

By the way, congratulations for all of your work with this software, and thanks to open source it!

Regards,
 #41707  by jllort
 
Yes you can use your own roles ( already present in your AD, someone must replace ROLE_USER and the same for ROLE_ADMIN). But for it must change appContext.xml ( at OpenKM/WEB-INF/) and two configuration parameters named default.admin.role and default.user.role).

Also is available a mixed configuration in OpenKM Professional, where users are authenticated at LDAP, but roles are set from OpenKM.

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.