Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[PLAT-11806]Allow LDAP-DB Sync of multiple verticals
Summary: The values specified as `LdapSearchFilter` in the payload takes care of the syncing users specific to groups. Say if the `LdapSearchFilter` is `(objectclass=person)`, all the users that are present on the LDAP server irrespective of which groups they belongs to get synced to the DB nodes. But if the `LdapSearchFilter` is `(&(objectclass=person)(|(groupName=CN=Admins,CN=Groups,DC=EXAMPLE,DC=COM)(groupName=CN=Random,CN=Groups,DC=EXAMPLE,DC=COM)))`, only the users belonging to either `Admins` or `Random` on the LDAP Server get synced to the DB nodes. Test Plan: Tested manually. Created a universe and triggered the sync with `LdapSearchFilter` as `(&(objectclass=person)(|(groupName=CN=Admins,CN=Groups,DC=EXAMPLE,DC=COM)(groupName=CN=Random,CN=Groups,DC=EXAMPLE,DC=COM)))`. Observed the output before and after the sync. {F163428} Reviewers: #yba-api-review!, svarshney Reviewed By: svarshney Subscribers: yugaware Differential Revision: https://phorge.dev.yugabyte.com/D33424
- Loading branch information