• OKM 5.1.10 Active Directory

  • 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.
 #16917  by Catscratch
 
Hi,

in the migration guide you wrote:
OpenKM now shows the username and not the user id. If you has configured LDAP integration, you need to take care of these new configuration options. For more info, read Active Directory OpenKM 5.1
What are this new configuration options? I can't access the page http://wiki.openkm.com/index.php/Active ... OpenKM_5.1

I already asked I think about 4 or 5 times for an account and wanted to pay for the account, but the sales department don't get it to respond my request. The only respond I got was "Thank you. I'm forwarding your mail to the appropriate person."

So I try to ask here, what are these new configuration options?

Thank you
 #16937  by jllort
 
What you said is really strange because all queries from our website forms are centralized, could be some problem with your mail addres ? tell me in private which mail addres are you using.

With latest openkm version you can get username not only the id of the user
principal.ldap.username.search.base=cn=users,dc=weyler,dc=local
principal.ldap.username.search.filter=(&(objectclass=person)(sAMAccountName={0}))
principal.ldap.username.attribute=cn
 #16955  by Catscratch
 
Thanks for your reply. I configured these options. But there is no change. I still see the user id (e.g. in the security tab). Do I have to activate a flag or something in this way, to switch to username visualization instead of user id?

And what principal.ldap.referral means?

Thank you.
 #16972  by jllort
 
If you do not see in administration something is wrong.

referal indicates if queries will be recursively across all yuor ldap nodes ( that has follow value when users are distributed in several nodes othercase this value should be empty - take a look at advanced configuration )
 #16975  by Catscratch
 
Hm ok. In the admin tab I see the same username for every user?!

Here is the configuration that works for user id's.
Code: Select all
principal.ldap.user.attribute = sAMAccountName	  
principal.ldap.user.search.base = ou=MMTOpenUsers,dc=mmtopen,dc=de	  
principal.ldap.user.search.filter = (&(objectClass=person)(memberOf=cn=OpenKMAllUsers,cn=Users,dc=mmtopen,dc=de))	  
principal.ldap.username.attribute = cn	  
principal.ldap.username.search.base = ou=MMTOpenUsers,dc=mmtopen,dc=de	  
principal.ldap.username.search.filter = (&(objectClass=person)(memberOf=cn=OpenKMAllUsers,cn=Users,dc=mmtopen,dc=de))
Do you have any hint?
 #16985  by jllort
 
The error is here principal.ldap.username.search.filter = (&(objectClass=person)(memberOf=cn=OpenKMAllUsers,cn=Users,dc=mmtopen,dc=de)) you're not filtering by user should be something like (&(objectClass=person)(memberOf=cn=OpenKMAllUsers,cn=Users,dc=mmtopen,dc=de)(sAMAccountName={0})) here you're filtering by user id

I suggest you make you execute your queries with apache ldap studio and you will understand better the purpose of each one, with your first version you get all usersname with second get only one filtered by id
 #16990  by Catscratch
 
Thanks for your reply.

I changed it, an now I can see the user names in the administrator tab. But now there is another problem. In the workspace tab in security I now the the username instead of the user id. But I see the same username for all users.

E.g. before (in the security tab, on a folder):
userId1
userId2
userId3

And now:
firstname5 lastname5
firstname5 lastname5
firstname5 lastname5
firstname5 lastname5

In administrator tab I see:
userId1 = firstname1 lastname1
userId2 = firstname2 lastname2
...

Thanks for your advice.
 #16996  by jllort
 
If problem is corrected on administration should be corrected in UI too, after changing it should refresh browser because has old data. Let me know if after refreshing - and in administration values are right - problem persist ?

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.