We’re trying to use the LDAP Authentication plugin with our LDAP server but it appears to be failing. Our environment uses LDAP referrals. Our Kong logs show errors similar to the following when an LDAP query fails:
2026/02/06 21:32:35 [error] 22#0: *10808 [lua] access.lua:89: ldap_authenticate(): [ldap-auth-advanced] failed ldap search for cn=sec23206 base_dn=dc=wmservice,dc=corpnet1,dc=com, client: 172.23.0.1, server: kong_admin, request: "GET /userinfo HTTP/1.1", host: "localhost:8001", referrer: "http://localhost:8002/login"
2026/02/06 21:32:35 [error] 22#0: *10808 [lua] responses.lua:121: ldap_authenticate(): Received incorrect Op in packet: 19, expected 5, client: 172.23.0.1, server: kong_admin, request: "GET /userinfo HTTP/1.1", host: "localhost:8001", referrer: "http://localhost:8002/login"