After upgrading Harbor for Tanzu Kubernetes Grid Integration Edition(TKGI) to v2.4.x with the LDAP feature enabled, private projects on Harbor that were previously be accessed by LDAP users turn inaccessible.
LDAP users can still login via the CLI or Harbor web UI, but can not pull, push, view, and manage images in those private projects.
This is a known issue with OSS Harbor and Harbor for TKG v2.4.x.
To work around the issue, follow these steps:
1. Login to Harbor web UI with admin user.
2. Navigate to Configuration - Authentication > LDAP Group Filter.
3. For the AD server, set `objectClass=group`. For openLDAP, set `objectClass=groupOfNames`.
4. Save the change.