-
Notifications
You must be signed in to change notification settings - Fork 392
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
LDAP Configuration: Changing Username Attribute #3076
Comments
Hi @steffenba |
Hey, thank you for the feedback, sadly this doesn't yield the expected result. What I expected it to do was just leaving out the I cannot search for a user by The same problem has been identified in #2715 |
I've similar issue, I've POC-ed something (please do not use that code in production, I even don't care about existing compatibility, is just a POC) to allow respond to the problem devel...kakawait:cloudbeaver:username-available-inside-ldap-filter I'm using https://docs.oracle.com/en/java/javase/11/docs/api/java.naming/javax/naming/directory/DirContext.html#search(javax.naming.Name,java.lang.String,java.lang.Object%5B%5D,javax.naming.directory.SearchControls) to allow people using
And so few modification after to retrieve I think I'll continue working on my fork to allow specify a mapping other Attributes as final username instead of first element of But as of today is working on my use case, where I'm relying on |
@steffenba @kakawait |
I'm using a bit same logic as Sonarqube https://docs.sonarsource.com/sonarqube/9.9/instance-administration/authentication/ldap/#configuration-sample But is missing username mapping, but I don't think is a big deal, just I first time as testing and checking the codebase so I need to check how to add new conf |
Hey there,
I'm not sure if this is something I am misunderstanding regarding LDAP configuration.
I replicated this in a local Docker Compose environment with openldap and can confirm, that this happens in the Docker Version of Cloudbeaver CE.
I want to use another attribute than "cn" for logging in, since in my AD, the CN Attribute contains characters that are unhelpful (I can't do anything about that). Instead I would like to use sn in this example.
With other solutions, I would use the following config:
(Bar1 is the sn value for user user01)
No matter which combination I try, setting
ldap-cn
to sn or whatever, Cloudbeaver always maps the entered Username to "cn=,"Am I missing something here?
If desired I can provide a compose file to replicate my question.
The text was updated successfully, but these errors were encountered: