LDAP - User authentication failed: LDAP authentication failed: [LDAP: error code 34 - invalid DN] #856

Open
opened 2026-03-04 11:09:36 -05:00 by deekerman · 0 comments
Owner

Originally created by @5xuanwen on GitHub (Feb 5, 2025).

Image

Deployment type: Kubernetes
LDAP service: OpenLdap https://github.com/rroemhild/docker-test-openldap

Issue: User authentication failed: LDAP authentication failed: [LDAP: error code 34 - invalid DN]
Ldap parameter configured at cloudbeaver.conf.

enabledAuthProviders: [
"local",
"ldap"
],
authConfigurations: [
{
"id": "ldap",
"provider": "ldap",
"displayName": "LDAP",
"disabled": false,
"iconURL": "",
"description": "",
"parameters": {
"ldap-host": "192.168.0.185",
"ldap-port": "10389",
"ldap-dn": "ou=people,dc=planetexpress,dc=com",
"ldap-identifier-attr": "cn",
"ldap-bind-user": "cn=admin,dc=planetexpress,dc=com",
"ldap-bind-user-pwd": "***"
}
}
],

How to reproduce: Install cloudbeaver in Kubernetes, deploy the openldap testing container in the same network. Modify with the above settings.

Workaround: If you include the entire DN "cn=Philip J. Fry,ou=people,dc=planetexpress,dc=com" without "" it logs in successfully.

Originally created by @5xuanwen on GitHub (Feb 5, 2025). ![Image](https://github.com/user-attachments/assets/cbb2eaa9-e532-4f4e-a050-ed15dcb01e28) Deployment type: Kubernetes LDAP service: OpenLdap https://github.com/rroemhild/docker-test-openldap Issue: User authentication failed: LDAP authentication failed: [LDAP: error code 34 - invalid DN] Ldap parameter configured at cloudbeaver.conf. enabledAuthProviders: [ "local", "ldap" ], authConfigurations: [ { "id": "ldap", "provider": "ldap", "displayName": "LDAP", "disabled": false, "iconURL": "", "description": "", "parameters": { "ldap-host": "192.168.0.185", "ldap-port": "10389", "ldap-dn": "ou=people,dc=planetexpress,dc=com", "ldap-identifier-attr": "cn", "ldap-bind-user": "cn=admin,dc=planetexpress,dc=com", "ldap-bind-user-pwd": "***" } } ], How to reproduce: Install cloudbeaver in Kubernetes, deploy the openldap testing container in the same network. Modify with the above settings. Workaround: If you include the entire DN "cn=Philip J. Fry,ou=people,dc=planetexpress,dc=com" without "" it logs in successfully.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/cloudbeaver#856
No description provided.