Page 1 of 1

The Ldap without ROLE_ADMIN & ROLE_USER

PostPosted:Wed Mar 29, 2017 8:32 am
by AdamChen
Hi , sorry that I have a lot of problem.

but I still try why I'm can't login with Ldap

one is my company can't let me to change the ldap detail for add something like(role_admin, role_user, role_opemkm)

Maybe the problem is I don't have this role in my Ldap that why I can't use Ldap to login.

so , how to without role but I still can login ?

I need to change where file ?

also Configuration

default.admin.role =
default.user.role =

I really need help , thanks for answer me !!!!

Re: The Ldap without ROLE_ADMIN & ROLE_USER

PostPosted:Thu Mar 30, 2017 8:11 pm
by jllort
You must change a file into OpenKM.war named AppContext.xml https://github.com/openkm/document-mana ... ontext.xml ( also you can try modify it directly from exploded webapps/OpenKM folder ).

You must change ROLE_ADMIN for your new admin role name and also the role prefix ( now is set to ROL_, you can also try removing it )