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:
dc=stdemo,dc=co,dc=th
|
DC=users
| |_________Administrator
|
OU=OpenKM
|____CN=okmad1 (User)
My openkm.properties:
...
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
My LDAP Structure is 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
dc=stdemo,dc=co,dc=th
|
DC=users
| |_________Administrator
|
OU=OpenKM
|____CN=okmad1 (User)
My openkm.properties:
...
Code: Select all
My parameters in Administration page as file 1.jpg (I have queried from database to show output)
# 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}