I'm slowly making some progress with getting OpenKM authenticating through our Active Directory server, but am now getting an error msg and I'm not sure which way I need to go or where I need to look.
OpenKM.cfg
I get the following error when I login. None of the menu items show up and I can't do anything at all.
Any suggestions, or something I missed?
Thanks
Chris
OpenKM.cfg
Code: Select all
login-config.xml
#system.ocr=/usr/bin/tesseract
system.openoffice.path=C:\\Program Files\\OpenOffice.org 3
system.openoffice.port=8100
system.img2pdf=C:\\ImageMagick-6.6.9-Q16\\convert.exe
system.pdf2swf=C:\\SWFTools\\pdf2swf.exe
#system.antivir=/usr/bin/clamscan
hibernate.dialect=org.hibernate.dialect.HSQLDialect
hibernate.hbm2ddl=none
application.url=http://s6bdoc01/OpenKM/com.openkm.frontend.Main/index.jsp
principal.adapter=es.git.openkm.principal.LdapPrincipalAdapter
principal.ldap.server=ldap://192.168.200.31
principal.ldap.security.principal=LDAP@***.net
principal.ldap.security.credentials=***************
principal.ldap.user.search.base=dc=***,dc=net
principal.ldap.user.search.filter=(objectclass=person)
principal.ldap.user.atribute=cn
principal.ldap.role.search.base=OU=OpenKM,dc=***,dc=net
principal.ldap.role.search.filter=(objectclass=group)
principal.ldap.role.atribute=cn
principal.ldap.mail.search.base=cn={0},dc=***,dc=net
principal.ldap.mail.search.filter=(objectclass=person)
principal.ldap.mail.atribute=mail
Code: Select all
For now, I have both UserRole and AdminRole groups created in AD which my login a member of the AdminRole group.<application-policy name="OpenKM">
<authentication>
<login-module code="org.jboss.security.auth.spi.LdapExtLoginModule" flag="required" >
<module-option name="java.naming.provider.url">ldap://192.168.200.31</module-option>
<module-option name="bindDN">LDAP@***.net</module-option>
<module-option name="java.naming.security.authentication">simple</module-option>
<module-option name="bindCredential">***************</module-option>
<module-option name="baseCtxDN">dc=***,dc=net</module-option>
<module-option name="baseFilter">(sAMAccountName={0})</module-option>
<module-option name="rolesCtxDN">OU=OpenKM,dc=***,dc=net</module-option>
<module-option name="roleFilter">(member={1})</module-option>
<module-option name="roleAttributeID">cn</module-option>
<module-option name="roleAttributeIsDN">false</module-option>
<module-option name="roleRecursion">2</module-option>
<module-option name="searchScope">ONELEVEL_SCOPE</module-option>
<module-option name="defaultRole">UserRole</module-option>
</login-module>
</authentication>
</application-policy>
</policy>
I get the following error when I login. None of the menu items show up and I can't do anything at all.
Any suggestions, or something I missed?
Thanks
Chris