mirror of
https://github.com/dbeaver/cloudbeaver.git
synced 2026-04-26 06:06:00 +03:00
[GH-ISSUE #3536] LDAP User ID cryptic #1278
Labels
No labels
AS
can't reproduce
can't reproduce
deployment
development
documentation
duplicate
duplicate
ee
enhancement
external
new driver
performance
pull-request
third party issue
wait for response
wait for review
wontfix
x:Oracle
x:cassandra
x:clickhouse
x:db2
x:duckdb
x:greenplum
x:h2
x:h2gis
x:hana
x:hive
x:intersystems
x:kyuubi
x:maria
x:mongo
x:mysql
x:postgresql
x:presto
x:sql server
x:sqlite
x:teradata
x:trino
xf:accessibility
xf:administration
xf:ai
xf:authentication
xf:aws
xf:commit-mode
xf:connection
xf:dark theme
xf:data editor
xf:datatransfer
xf:dba
xf:driver management
xf:erd
xf:filters
xf:i18n
xf:i18n
xf:installer
xf:json
xf:kerberos
xf:ldap
xf:local config
xf:log viewer
xf:metadata
xf:metadata editor
xf:navigator
xf:okta
xf:query manager
xf:resource manager
xf:scripts
xf:sql editor
xf:tasks
xf:ui/uix
xo: Firefox
xo:eclipse
xo:internet explorer
xo:macos
xp:major
xrn:internal
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/cloudbeaver#1278
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @MatthiasSchnoeke on GitHub (Jun 20, 2025).
Original GitHub issue: https://github.com/dbeaver/cloudbeaver/issues/3536
Originally assigned to: @HocKu7 on GitHub.
Description
We run CB community edition 25.1.0.202506020921
After LDAP integration the AD user will shown with cryptical user id name. That's difficult to ready the user list.

e.g ��u[��d��k����p
How to work with AD groups.
We create a new AD group "SG_Cloudbeaver_Developer" and in CB a new team with CN "SG_Cloudbeaver_Developer" as LDAP Group Name. After that we would expect that the members of this AD group will shown as a team user automaticly after frist login and the team database connection is visible.
Steps to reproduce
No response
Expected/Desired Behavior
CloudBeaver Version
25.1.0.202506020921
Additional context
No response
@EvgeniaBzzz commented on GitHub (Jun 20, 2025):
Hi @MatthiasSchnoeke
1.Set
ldap-identifier-attrtosAMAccountNameso that users can log in with theirsAMAccountName, and their user ID will match it as well@EvgeniaBzzz commented on GitHub (Jun 20, 2025):
I just checked on my side, and the new user was successfully mapped to the CB team on his first login.
@MatthiasSchnoeke commented on GitHub (Jun 21, 2025):
Thank you for the quick response.
to 1. After changing to ldap-identifier-attr="sAMAccountName" I get an authentication error even though the user is not locked in the AD. The same when I switched back do ldap-identifier-attr="CN". After deleting storage (PVC OpenShift) the login with DN is possible again.
So I am confused why ldap-identifier-attr=‘CN’ expects the DN
and
ldap-identifier-attr=“sAMAccountName” leads to an invalid credential and later to a wrong error message ‘User locked’.
org.jkiss.dbeaver.model.exec.DBCException: User account is locked
at io.cloudbeaver.service.security.CBEmbeddedSecurityController.findUserByCredentials(CBEmbeddedSecurityController.java:1039)
at io.cloudbeaver.service.security.CBEmbeddedSecurityController.findUserByCredentials(CBEmbeddedSecurityController.java:966)
at io.cloudbeaver.service.security.CBEmbeddedSecurityController.findOrCreateExternalUserByCredentials(CBEmbeddedSecurityController.java:2545)
at io.cloudbeaver.service.security.CBEmbeddedSecurityController.finishAuthentication(CBEmbeddedSecurityController.java:2269)
at io.cloudbeaver.service.security.CBEmbeddedSecurityController.authenticate(CBEmbeddedSecurityController.java:1670)
at io.cloudbeaver.service.auth.impl.WebServiceAuthImpl.initiateAuthentication(WebServiceAuthImpl.java:171)
at io.cloudbeaver.service.auth.impl.WebServiceAuthImpl.authLogin(WebServiceAuthImpl.java:74)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
at java.base/java.lang.reflect.Method.invoke(Method.java:580)
@MatthiasSchnoeke commented on GitHub (Jun 21, 2025):
my current config:
@MatthiasSchnoeke commented on GitHub (Jun 23, 2025):
Unfortunaley after LDAP Login (via DN) my user is not automatically mapped and can not find the team related dn connections.
@MatthiasSchnoeke commented on GitHub (Jun 23, 2025):
My ldap user also does not receive database connections after being assigned to an existing team (without ldap team)
@HocKu7 commented on GitHub (Jun 24, 2025):
@MatthiasSchnoeke
What was the error? Are the credentials valid?
@MatthiasSchnoeke commented on GitHub (Jun 24, 2025):
Yes, the credetials are ok.
@HocKu7 commented on GitHub (Jul 2, 2025):
@MatthiasSchnoeke Hi, can you please provide footage showing your issue? Also, it would be very useful to see a server's log file to understand your issue
@MatthiasSchnoeke commented on GitHub (Jul 11, 2025):
IT seems I'm not the only one with this issue.
Here my current configutation.
Group DN: CN=SG_Cloudbeaver_Developer,OU=Cloudbeaver,OU=Access,OU=Groups,OU=[my_ou2],OU=[my_ou1],DC=ad,DC=[my_domain],DC=com
User DN: CN=Matthias,OU=User,OU=Mainz,OU=Locations,OU=[my_ou2],OU=[my_ou1],DC=ad,DC=[my_domain],DC=com
@MatthiasSchnoeke commented on GitHub (Jul 15, 2025):
The same problem when I move the SVC to Goups OU.