This is an automated email from the ASF dual-hosted git repository.
abhi pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/ranger.git
The following commit(s) were added to refs/heads/master by this push:
new 32c90a3ec RANGER-5078: Set ranger.usersync.ldap.referral=follow as
default config (#530)
32c90a3ec is described below
commit 32c90a3ec93b83c7323568c0fccef6d51c7a1617
Author: Abhishek Kumar <[email protected]>
AuthorDate: Thu Jun 19 09:02:27 2025 -0700
RANGER-5078: Set ranger.usersync.ldap.referral=follow as default config
(#530)
---
dev-support/ranger-docker/scripts/ranger-usersync-install.properties | 4 ++--
.../org/apache/ranger/unixusersync/config/UserGroupSyncConfig.java | 2 +-
unixauthservice/scripts/install.properties | 4 ++--
3 files changed, 5 insertions(+), 5 deletions(-)
diff --git
a/dev-support/ranger-docker/scripts/ranger-usersync-install.properties
b/dev-support/ranger-docker/scripts/ranger-usersync-install.properties
index 8233aa29a..9c89fa37d 100644
--- a/dev-support/ranger-docker/scripts/ranger-usersync-install.properties
+++ b/dev-support/ranger-docker/scripts/ranger-usersync-install.properties
@@ -214,8 +214,8 @@ SYNC_PAGED_RESULTS_ENABLED=
# search results would be returned page by page with the specified number of
entries per page
# default value: 500
SYNC_PAGED_RESULTS_SIZE=
-#LDAP context referral could be ignore or follow
-SYNC_LDAP_REFERRAL =ignore
+# valid values: ignore or follow
+SYNC_LDAP_REFERRAL = follow
# if you want to enable or disable jvm metrics for usersync process
# valid values: true, false
diff --git
a/ugsync/src/main/java/org/apache/ranger/unixusersync/config/UserGroupSyncConfig.java
b/ugsync/src/main/java/org/apache/ranger/unixusersync/config/UserGroupSyncConfig.java
index 73e712157..505197727 100644
---
a/ugsync/src/main/java/org/apache/ranger/unixusersync/config/UserGroupSyncConfig.java
+++
b/ugsync/src/main/java/org/apache/ranger/unixusersync/config/UserGroupSyncConfig.java
@@ -123,7 +123,7 @@ public class UserGroupSyncConfig {
private static final String DEFAULT_GROUP_CLOUDID_ATTRIBUTE_DATATYPE
= "byte[]";
private static final String DEFAULT_OTHER_GROUP_ATTRIBUTES
= "displayname,";
private static final String
DEFAULT_UGSYNC_GROUPNAME_CASE_CONVERSION_VALUE =
UGSYNC_NONE_CASE_CONVERSION_VALUE;
- private static final String DEFAULT_LGSYNC_REFERRAL
= "ignore";
+ private static final String DEFAULT_LGSYNC_REFERRAL
= "follow";
private static final int DEFAULT_LGSYNC_GROUP_HIERARCHY_LEVELS
= 0;
private static final int DEFAULT_LGSYNC_PAGED_RESULTS_SIZE
= 500;
private static final boolean DEFAULT_LGSYNC_LDAP_DELTASYNC_ENABLED
= false;
diff --git a/unixauthservice/scripts/install.properties
b/unixauthservice/scripts/install.properties
index d805a99b5..7d7ed5554 100644
--- a/unixauthservice/scripts/install.properties
+++ b/unixauthservice/scripts/install.properties
@@ -215,8 +215,8 @@ SYNC_PAGED_RESULTS_ENABLED=
# search results would be returned page by page with the specified number of
entries per page
# default value: 500
SYNC_PAGED_RESULTS_SIZE=
-#LDAP context referral could be ignore or follow
-SYNC_LDAP_REFERRAL =ignore
+# valid values: ignore or follow
+SYNC_LDAP_REFERRAL = follow
# if you want to enable or disable jvm metrics for usersync process
# valid values: true, false