Skip to content

Conversation

@kimsehwan96
Copy link
Contributor

What changes were proposed in this pull request?

  1. setup.py: Changed hardcoded ranger.usersync.ldap.deltasync=true to only set the default value when the property is not already configured in install.properties.

  2. LdapUserGroupBuilder: Skip appending delta sync filter conditions (uSNChanged, modifyTimestamp) to LDAP search queries when delta sync is disabled. Applied to both getUsers() and getGroups()

Some LDAP services (e.g., Google Workspace Secure LDAP) do not support the attributes used for delta sync (uSNChanged, modifyTimestamp), which causes delta sync to not work properly. In such cases, users should be able to disable delta sync and run full sync without unnecessary filter conditions being included in the LDAP queries.

How was this patch tested?

  • Built locally and verified LDAP search filters with delta sync enabled and disabled

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant