Page 1 of 1

import user name in openkm

PostPosted:Thu May 10, 2012 9:04 am
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 ?

Re: import user name in openkm

PostPosted:Sat May 12, 2012 6:36 am
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.