Page 1 of 1

I CANNOT LOGIN USING LDAP

PostPosted:Mon May 20, 2024 5:34 pm
by MarcoOliveira
Hi, i trying to use LDAP login i change my file OpenKM.xml but now i always got error "Authentication error".
Someone can help me please? Dont send me more documentation to follow please, I already follow OpenKM documentation. (https://www.openkm.com/wiki/index.php/A ... OpenKM_6.2)

My changes:
Code: Select all
<security:ldap-server id="ldapServer"
    url="ldap://192.168.100.50:389/DC=ldap,dc=campi,dc=local"
    manager-dn="CN=campiat,cn=Users,dc=campi,dc=local"
    manager-password="campi123"/>
   
  <security:authentication-manager alias="authenticationManager">
    <security:ldap-authentication-provider
      server-ref="ldapServer"
      user-search-base="cn=Users"
      user-search-filter="(sAMAccountName={0})"
      group-search-base="cn=Users"
      group-search-filter="(member={0})"
      group-role-attribute="cn"
      role-prefix="none">
    </security:ldap-authentication-provider>
  </security:authentication-manager>
What is wrong?I got 0 erros in tomcat/logs...

Thanks for help!

Re: I CANNOT LOGIN USING LDAP

PostPosted:Wed May 22, 2024 6:59 am
by jllort
You are using the wrong documentation section the wiki.openkm.com has been deprecated for years. You should use this one https://docs.openkm.com/kcenter/view/ok ... roles.html