Page 1 of 1

LDAP Auth, local roles

PostPosted:Thu Apr 28, 2016 8:05 am
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,

Re: LDAP Auth, local roles

PostPosted:Sat Apr 30, 2016 7:53 am
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.