• import user name in openkm

  • 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.
 #15529  by rasha123
 
hi ,

i am using openkm version 5.1.9
i succsefully integrated active directory with openkm.

its importing user id , email and roles .

but he name column in the openkm administration doesn't capture the user name instead its capturing
the com.openkm.principle.LdapPrincipleadApter as attached file


this is my configuration
Code: Select all
        system.login.lowercase=on
        principal.adapter=com.openkm.principal.LdapPrincipalAdapter
        principal.ldap.server=ldap://10.xxx.xx.xx:381/
        principal.ldap.security.principal=domain\Administrator
        principal.ldap.security.credentials=password
        principal.ldap.user.search.base=ou=user,dc=xxx,dc=local
        principal.ldap.user.search.filter=(objectclass=person)
        principal.ldap.user.attribute=sAMAccountName
        principal.ldap.role.search.base=ou=xxx,dc=xxx,dc=local
        principal.ldap.role.search.filter=(jectcoblass=group)
        principal.ldap.role.attribute=cn
        principal.ldap.mail.search.base=cn={0},ou=xxx,dc=xxx,dc=local
        principal.ldap.mail.search.filter=(&(objectclass=person)(sAMAccountName={0}))
        principal.ldap.mail.attribute=mail
        principal.ldap.users.by.role.search.base=ou=xxxx,dc=xxx,dc=local
        principal.ldap.users.by.role.search.filter=(objectclass=group)
        principal.ldap.users.by.role.attribute=member
        principal.ldap.roles.by.user.search.base=ou=xxxx,dc=xxx,dc=local
        principal.ldap.roles.by.user.search.filter=(&(objectclass=person)(sAMAccountName={0}))
        principal.ldap.roles.by.user.attribute=memberOf
        principal.ldap.referral=follow 
where can i change the value to capture user name ?
Attachments
administration.jpeg
administration.jpeg (51.62 KiB) Viewed 2084 times
 #15555  by jllort
 
I think it's a bug, but do not worry for it integration is right. We have added new property to capture name ( we only capture userid ) but I do not suggest upgrade to latest nightly build to solve it.

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.