• Show username instead of login in security list

  • We tried to make OpenKM as intuitive as possible, but an advice is always welcome.
We tried to make OpenKM as intuitive as possible, but an advice is always welcome.
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.
 #15250  by Catscratch
 
Hello, I updated to integration build 7538.

My question is, wherefor is ldap.user and ldap.username used?
Code: Select all
principal.ldap.user.attribute = sAMAccountName
principal.ldap.user.search.base = ...
principal.ldap.user.search.filter = ...
principal.ldap.username.attribute = 
principal.ldap.username.search.base = 
principal.ldap.username.search.filter =
I want to achieve the following.
In the Securitylist (e.g. on a folder) I want to see the users name (CN).

So, when I configure user.attribute to CN I see the users name. But then the security roles won't work, because it seems they are mapped to the loginname, not the users name. So I tried user.attribute as sAMAccountName and username.attribute as CN. But then I only the the logins in the security list. And users who log in, get the wrong label.
E.g. User1 logs in and in the bottom left corner the text "Logged in as User5" appears instead of "Logged in as User1".

So, how do I configure it in the right way?
 #15276  by jllort
 
it's better using sAMAccountName for login than CN because in CN could be spaces , dot and other special characters that will be a problem for login, the idea is using sAMAccountName for login and cn for name

Take a look at our wiki http://wiki.openkm.com/index.php/Installation_Guide at active directory section because this week we have made some changes on this documentation explaining more clear how should be set the configuration parameters.

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.