• LDAP Role Security

  • 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.
 #48174  by samjenkins00
 
Hi All,

Apologies if this is answered elsewhere but I've not been able to find anything conclusive yet (after a few days of reading and experimenting).

I've implemented LDAP to our AD. I've created a ROLE_USER and ROLE_ADMIN group, and assigned these to users. Login and authentication works as expected.

Each user has a number of additional Role memberships from AD, eg (Engineering, Sales, Support, Finance etc). I can see these roles against each user in OpenKM, I can filter users based on roles, and i can assign roles to the Security panel for folders in Taxonomy - so i'm fairly confident the rols have been imported and linked correctly.

My issue is that the Taxonomy security seems to be ignoring all roles except ROLE_USER. A few examples:
  • okm:root has ROLE_USER & Engineering. If i configure ROLE_USER as read-only, and Engineering as full access, my user only gets read access even though they are part of the Engineering Role.
  • If create a folder under root with only the Engineering role applied (and remove ROLE_USER), my user cannot see or access the folder even though they are part of the Engineering Role
Any ideas?

Thanks,
Sam
 #48202  by jllort
 
1- Ensure your user really has the role ( check from administration).
2- Share login OpenKM.xml here ( comment the sections like password or private )
 #48224  by samjenkins00
 
Thanks, all working now. It was a silly (but critical) mistake in the one of the LDAP configuration parameters.

I was using a page refresh (by clicking hte URL and pressing enter) to reload the page and validate that things were working.

It was only after exiting (logging out) and re-entering credentials that i was unable to log in, which highlighted that one of my parameters was wrong.

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.