Workaround
Ensure that the Harbor LDAP Group settings are correctly configured. These are not enforced as required as of v2.0.3 but if they are not set then there will be problems with LDAP Group search during the authorization process. Make sure that the following are set:
- LDAP Group Base DN
- LDAP Group Filter
- LDAP Group GID
If the following are already set, and you still get the error:
error LDAP Result Code 4 "Size Limit Exceeded"
Then you would need to enhance the LDAP Group Filter to narrow down the search results. As a workaround, you can use a filter such as the following that includes all the group names that are needed for your Harbor environment.
(|(cn=cluster-admins)(cn=cluster-managers)(cn=developers)(cn=testgroup))