LDAP Authentication not working

I configured ERPNext so I can log in over LDAP. The problem is that when I’m logging in with LDAP, there’s just the text “Verifying…” at the top of the login box and the login won’t work.


  • ERPNext: v12.3.1 (version-12)
  • Frappe Framework: v12.1.0 (version-12)
  • The LDAP server works fine with any other application, so the LDAP server is not the problem.
  • I installed ldap3 manually (else I would get errors that it is not installed)

OpenLDAP log:

conn=1029 fd=30 ACCEPT from IP=********* (IP=
conn=1029 op=0 BIND dn="cn=admin,dc=****,dc=****" method=128
conn=1029 op=0 BIND dn="cn=admin,dc=****,dc=****" mech=SIMPLE ssf=0
conn=1029 op=0 RESULT tag=97 err=0 text=
conn=1029 op=1 SRCH base="" scope=0 deref=3 filter="(objectClass=*)"
conn=1029 op=1 SRCH attr=subschemaSubentry +
conn=1029 op=1 SEARCH RESULT tag=101 err=0 nentries=1 text=
conn=1029 op=2 SRCH base="cn=Subschema" scope=0 deref=3 filter="(objectClass=subschema)"
conn=1029 op=2 SRCH attr=objectClasses attributeTypes ldapSyntaxes matchingRules matchingRuleUse dITContentRules dITStructureRules nameForms createTimestamp modifyTimestamp * +
conn=1029 op=2 SEARCH RESULT tag=101 err=0 nentries=1 text=

The login box:

Hopefully someone can help me here :slight_smile: