Page 1 of 1

LDAP Integration but User list not shown

PostPosted:Fri May 03, 2024 9:51 am
by teera_w
I have integrate OpenKM 7.1 with Active directory.
After restart to take effect, okmAdmin can login to OpenKM fine, but when I go to Administration > Users.
There is no user list shown.

In catalina.out has error like this:
Code: Select all
Caused by: org.springframework.ldap.AuthenticationException: [LDAP: error code 49 - 80090308: LdapErr: DSID-0C0903D3, comment: AcceptSecurityContext error, da
ta 52e, v3839^@]; nested exception is javax.naming.AuthenticationException: [LDAP: error code 49 - 80090308: LdapErr: DSID-0C0903D3, comment: AcceptSecurityCo
ntext error, data 52e, v3839^@]
        at org.springframework.ldap.support.LdapUtils.convertLdapException(LdapUtils.java:191)
        at org.springframework.ldap.core.support.AbstractContextSource.createContext(AbstractContextSource.java:355)
        at org.springframework.ldap.core.support.AbstractContextSource.doGetContext(AbstractContextSource.java:139)
        at org.springframework.ldap.core.support.AbstractContextSource.getReadOnlyContext(AbstractContextSource.java:158)

        ... 71 common frames omitted
My LDAP Structure is
dc=stdemo,dc=co,dc=th
|
DC=users
| |_________Administrator
|
OU=OpenKM
|____CN=okmad1 (User)

My openkm.properties:
...
Code: Select all
# Auth
okm.authentication.supervisor=true
okm.authentication.database=false
okm.authentication.ldap=true
#LDAP
ldap.server=ldap://MYAD.stdemo.co.th:389
ldap.manager.distinguished.name=CN=Administrator,cn=users,dc=stdemo,dc=co,dc=th
ldap.manager.password=mypassword
ldap.base=dc=stdemo,dc=co,dc=th
ldap.role.attribute=cn
ldap.user.search.filter=sAMAccountName={0}
ldap.role.search.filter=member={0}
My parameters in Administration page as file 1.jpg (I have queried from database to show output)
1.jpg
1.jpg (335.67 KiB) Viewed 7173 times

Re: LDAP Integration but User list not shown

PostPosted:Mon May 13, 2024 7:06 am
by jllort
As a user of the professional edition you should use the customer support website for this matter.