-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
harbor warns about not getting groups excluded by ldap group base dn #20038
Comments
Could you please try this |
I changed LDAP Group Base DN to |
just a bump. issue still exists (at least on my installation) |
This issue is being marked stale due to a period of inactivity. If this issue is still relevant, please comment or remove the stale label. Otherwise, this issue will close in 30 days. |
As far as i can tel, the issue is still not solved |
This issue is being marked stale due to a period of inactivity. If this issue is still relevant, please comment or remove the stale label. Otherwise, this issue will close in 30 days. |
This issue was closed because it has been stalled for 30 days with no activity. If this issue is still relevant, please re-open a new issue. |
The warning message should changed to debug level to avoid noise in the log. |
…are many unused ldap groups for each user fixes goharbor#20038 Signed-off-by: stonezdj <[email protected]>
#21034) Change the log level from warning to debug to avoid noise when there are many unused ldap groups for each user fixes #20038 Signed-off-by: stonezdj <[email protected]>
Harbor version 2.9.2
We have a setup, where our OpenLDAP server provides configurations for multiple services (Bitbucket, Jenkins etc)
Further our groups are split into stages (dev, integration, prod)
Within those groups we have duplicate group names (e.g jenkins_user)
Not all our users should have all groups.
I now have the problem, that i created 2 new groups for our harbor users
So i set the LDAP Group Base DN value to ou=harbor,ou=ops,ou=groups,dc=company,dc=local
Everything works as expected. Users can login and are either user or admin depending on the group.
BUT:
on every login i get a message for EVERY single group that the user is a member of. Which in my users case are over 70
Why is it even trying to read this group, the group base dn distinctly different.
i tried multiple version of using base dn and LDAP Group Filter.
The only solution i found was to allow all ldap groups below ou=groups,dc=company,dc=local, which then results in duplicate name warnings on every single login.
As said it doesn't break anything. It's just anoying spam about information, that i don't need.
is there a way to:
below a screenshot of my (working) ldap config
The text was updated successfully, but these errors were encountered: