ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gau...@apache.org
Subject ambari git commit: AMBARI-15153. Change Ranger's default value for LDAP Group Sync Case Conversion properties to "none"(gautam)
Date Mon, 07 Mar 2016 05:47:25 GMT
Repository: ambari
Updated Branches:
  refs/heads/trunk eeef001d4 -> 65f0ff68f


AMBARI-15153. Change Ranger's default value for LDAP Group Sync Case Conversion properties
to "none"(gautam)


Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/65f0ff68
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/65f0ff68
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/65f0ff68

Branch: refs/heads/trunk
Commit: 65f0ff68f77fd1d640e705c7b628252c72d15be3
Parents: eeef001
Author: Gautam Borad <gautam@apache.org>
Authored: Thu Feb 11 16:11:11 2016 +0530
Committer: Gautam Borad <gautam@apache.org>
Committed: Mon Mar 7 11:17:06 2016 +0530

----------------------------------------------------------------------
 .../RANGER/0.4.0/configuration/usersync-properties.xml       | 4 ++--
 .../2.3/services/RANGER/configuration/ranger-ugsync-site.xml | 4 ++--
 .../python/stacks/2.0.6/configs/ranger-namenode-start.json   | 4 ++--
 .../src/test/python/stacks/2.2/configs/default.json          | 8 ++++----
 .../stacks/2.2/configs/default_custom_path_config.json       | 8 ++++----
 .../test/python/stacks/2.2/configs/ranger-admin-default.json | 8 ++++----
 .../test/python/stacks/2.2/configs/ranger-admin-secured.json | 4 ++--
 .../src/test/python/stacks/2.2/configs/secured.json          | 4 ++--
 .../src/test/python/stacks/2.3/configs/spark_default.json    | 8 ++++----
 .../app/assets/data/stacks/HDP-2.2/configurations.json       | 6 +++---
 10 files changed, 29 insertions(+), 29 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/65f0ff68/ambari-server/src/main/resources/common-services/RANGER/0.4.0/configuration/usersync-properties.xml
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/resources/common-services/RANGER/0.4.0/configuration/usersync-properties.xml
b/ambari-server/src/main/resources/common-services/RANGER/0.4.0/configuration/usersync-properties.xml
index 9ad6bbd..c7dbdb6 100644
--- a/ambari-server/src/main/resources/common-services/RANGER/0.4.0/configuration/usersync-properties.xml
+++ b/ambari-server/src/main/resources/common-services/RANGER/0.4.0/configuration/usersync-properties.xml
@@ -125,12 +125,12 @@
   </property>
   <property>
     <name>SYNC_LDAP_USERNAME_CASE_CONVERSION</name>
-    <value>lower</value>
+    <value>none</value>
     <description>possible values:  none, lower, upper</description>
   </property>
   <property>
     <name>SYNC_LDAP_GROUPNAME_CASE_CONVERSION</name>
-    <value>lower</value>
+    <value>none</value>
     <description>possible values:  none, lower, upper</description>
   </property>
   <property>

http://git-wip-us.apache.org/repos/asf/ambari/blob/65f0ff68/ambari-server/src/main/resources/stacks/HDP/2.3/services/RANGER/configuration/ranger-ugsync-site.xml
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/resources/stacks/HDP/2.3/services/RANGER/configuration/ranger-ugsync-site.xml
b/ambari-server/src/main/resources/stacks/HDP/2.3/services/RANGER/configuration/ranger-ugsync-site.xml
index 5551e51..cd9a7b9 100644
--- a/ambari-server/src/main/resources/stacks/HDP/2.3/services/RANGER/configuration/ranger-ugsync-site.xml
+++ b/ambari-server/src/main/resources/stacks/HDP/2.3/services/RANGER/configuration/ranger-ugsync-site.xml
@@ -296,13 +296,13 @@
 
   <property>
     <name>ranger.usersync.ldap.username.caseconversion</name>
-    <value>lower</value>
+    <value>none</value>
     <description>User name case conversion</description>
   </property>
 
   <property>
     <name>ranger.usersync.ldap.groupname.caseconversion</name>
-    <value>lower</value>
+    <value>none</value>
     <description>Group name case conversion</description>
   </property>
 

http://git-wip-us.apache.org/repos/asf/ambari/blob/65f0ff68/ambari-server/src/test/python/stacks/2.0.6/configs/ranger-namenode-start.json
----------------------------------------------------------------------
diff --git a/ambari-server/src/test/python/stacks/2.0.6/configs/ranger-namenode-start.json
b/ambari-server/src/test/python/stacks/2.0.6/configs/ranger-namenode-start.json
index f90f516..6e3342c 100644
--- a/ambari-server/src/test/python/stacks/2.0.6/configs/ranger-namenode-start.json
+++ b/ambari-server/src/test/python/stacks/2.0.6/configs/ranger-namenode-start.json
@@ -155,10 +155,10 @@
         },
         "usersync-properties": {
             "SYNC_INTERVAL": "1",
-            "SYNC_LDAP_USERNAME_CASE_CONVERSION": "lower",
+            "SYNC_LDAP_USERNAME_CASE_CONVERSION": "none",
             "SYNC_LDAP_USER_SEARCH_FILTER": "-",
             "SYNC_LDAP_URL": "ldap://localhost:389",
-            "SYNC_LDAP_GROUPNAME_CASE_CONVERSION": "lower",
+            "SYNC_LDAP_GROUPNAME_CASE_CONVERSION": "none",
             "SYNC_LDAP_USER_SEARCH_SCOPE": "sub",
             "SYNC_LDAP_BIND_PASSWORD": "admin321",
             "SYNC_LDAP_USER_NAME_ATTRIBUTE": "cn",

http://git-wip-us.apache.org/repos/asf/ambari/blob/65f0ff68/ambari-server/src/test/python/stacks/2.2/configs/default.json
----------------------------------------------------------------------
diff --git a/ambari-server/src/test/python/stacks/2.2/configs/default.json b/ambari-server/src/test/python/stacks/2.2/configs/default.json
index f759f49..4159a58 100644
--- a/ambari-server/src/test/python/stacks/2.2/configs/default.json
+++ b/ambari-server/src/test/python/stacks/2.2/configs/default.json
@@ -69,10 +69,10 @@
         }, 
         "usersync-properties": {
             "SYNC_INTERVAL": "1", 
-            "SYNC_LDAP_USERNAME_CASE_CONVERSION": "lower", 
+            "SYNC_LDAP_USERNAME_CASE_CONVERSION": "none",
             "SYNC_LDAP_USER_SEARCH_FILTER": "-", 
             "SYNC_LDAP_URL": "ldap://localhost:389", 
-            "SYNC_LDAP_GROUPNAME_CASE_CONVERSION": "lower", 
+            "SYNC_LDAP_GROUPNAME_CASE_CONVERSION": "none",
             "SYNC_LDAP_USER_SEARCH_SCOPE": "sub", 
             "SYNC_LDAP_BIND_PASSWORD": "admin321", 
             "SYNC_LDAP_USER_NAME_ATTRIBUTE": "cn", 
@@ -87,10 +87,10 @@
         }, 
         "usersync-properties": {
             "SYNC_INTERVAL": "1", 
-            "SYNC_LDAP_USERNAME_CASE_CONVERSION": "lower", 
+            "SYNC_LDAP_USERNAME_CASE_CONVERSION": "none",
             "SYNC_LDAP_USER_SEARCH_FILTER": "-", 
             "SYNC_LDAP_URL": "ldap://localhost:389", 
-            "SYNC_LDAP_GROUPNAME_CASE_CONVERSION": "lower", 
+            "SYNC_LDAP_GROUPNAME_CASE_CONVERSION": "none",
             "SYNC_LDAP_USER_SEARCH_SCOPE": "sub", 
             "SYNC_LDAP_BIND_PASSWORD": "admin321", 
             "SYNC_LDAP_USER_NAME_ATTRIBUTE": "cn", 

http://git-wip-us.apache.org/repos/asf/ambari/blob/65f0ff68/ambari-server/src/test/python/stacks/2.2/configs/default_custom_path_config.json
----------------------------------------------------------------------
diff --git a/ambari-server/src/test/python/stacks/2.2/configs/default_custom_path_config.json
b/ambari-server/src/test/python/stacks/2.2/configs/default_custom_path_config.json
index a70f4c1..b6a528d 100644
--- a/ambari-server/src/test/python/stacks/2.2/configs/default_custom_path_config.json
+++ b/ambari-server/src/test/python/stacks/2.2/configs/default_custom_path_config.json
@@ -69,10 +69,10 @@
         },
         "usersync-properties": {
             "SYNC_INTERVAL": "1",
-            "SYNC_LDAP_USERNAME_CASE_CONVERSION": "lower",
+            "SYNC_LDAP_USERNAME_CASE_CONVERSION": "none",
             "SYNC_LDAP_USER_SEARCH_FILTER": "-",
             "SYNC_LDAP_URL": "ldap://localhost:389",
-            "SYNC_LDAP_GROUPNAME_CASE_CONVERSION": "lower",
+            "SYNC_LDAP_GROUPNAME_CASE_CONVERSION": "none",
             "SYNC_LDAP_USER_SEARCH_SCOPE": "sub",
             "SYNC_LDAP_BIND_PASSWORD": "admin321",
             "SYNC_LDAP_USER_NAME_ATTRIBUTE": "cn",
@@ -87,10 +87,10 @@
         },
         "usersync-properties": {
             "SYNC_INTERVAL": "1",
-            "SYNC_LDAP_USERNAME_CASE_CONVERSION": "lower",
+            "SYNC_LDAP_USERNAME_CASE_CONVERSION": "none",
             "SYNC_LDAP_USER_SEARCH_FILTER": "-",
             "SYNC_LDAP_URL": "ldap://localhost:389",
-            "SYNC_LDAP_GROUPNAME_CASE_CONVERSION": "lower",
+            "SYNC_LDAP_GROUPNAME_CASE_CONVERSION": "none",
             "SYNC_LDAP_USER_SEARCH_SCOPE": "sub",
             "SYNC_LDAP_BIND_PASSWORD": "admin321",
             "SYNC_LDAP_USER_NAME_ATTRIBUTE": "cn",

http://git-wip-us.apache.org/repos/asf/ambari/blob/65f0ff68/ambari-server/src/test/python/stacks/2.2/configs/ranger-admin-default.json
----------------------------------------------------------------------
diff --git a/ambari-server/src/test/python/stacks/2.2/configs/ranger-admin-default.json b/ambari-server/src/test/python/stacks/2.2/configs/ranger-admin-default.json
index a13f50e..2dbf161 100644
--- a/ambari-server/src/test/python/stacks/2.2/configs/ranger-admin-default.json
+++ b/ambari-server/src/test/python/stacks/2.2/configs/ranger-admin-default.json
@@ -69,10 +69,10 @@
         }, 
         "usersync-properties": {
             "SYNC_INTERVAL": "1", 
-            "SYNC_LDAP_USERNAME_CASE_CONVERSION": "lower", 
+            "SYNC_LDAP_USERNAME_CASE_CONVERSION": "none",
             "SYNC_LDAP_USER_SEARCH_FILTER": "-", 
             "SYNC_LDAP_URL": "ldap://localhost:389", 
-            "SYNC_LDAP_GROUPNAME_CASE_CONVERSION": "lower", 
+            "SYNC_LDAP_GROUPNAME_CASE_CONVERSION": "none",
             "SYNC_LDAP_USER_SEARCH_SCOPE": "sub", 
             "SYNC_LDAP_BIND_PASSWORD": "admin321", 
             "SYNC_LDAP_USER_NAME_ATTRIBUTE": "cn", 
@@ -87,10 +87,10 @@
         }, 
         "usersync-properties": {
             "SYNC_INTERVAL": "1", 
-            "SYNC_LDAP_USERNAME_CASE_CONVERSION": "lower", 
+            "SYNC_LDAP_USERNAME_CASE_CONVERSION": "none",
             "SYNC_LDAP_USER_SEARCH_FILTER": "-", 
             "SYNC_LDAP_URL": "ldap://localhost:389", 
-            "SYNC_LDAP_GROUPNAME_CASE_CONVERSION": "lower", 
+            "SYNC_LDAP_GROUPNAME_CASE_CONVERSION": "none",
             "SYNC_LDAP_USER_SEARCH_SCOPE": "sub", 
             "SYNC_LDAP_BIND_PASSWORD": "admin321", 
             "SYNC_LDAP_USER_NAME_ATTRIBUTE": "cn", 

http://git-wip-us.apache.org/repos/asf/ambari/blob/65f0ff68/ambari-server/src/test/python/stacks/2.2/configs/ranger-admin-secured.json
----------------------------------------------------------------------
diff --git a/ambari-server/src/test/python/stacks/2.2/configs/ranger-admin-secured.json b/ambari-server/src/test/python/stacks/2.2/configs/ranger-admin-secured.json
index d40a804..d7027d3 100644
--- a/ambari-server/src/test/python/stacks/2.2/configs/ranger-admin-secured.json
+++ b/ambari-server/src/test/python/stacks/2.2/configs/ranger-admin-secured.json
@@ -109,10 +109,10 @@
         }, 
         "usersync-properties": {
             "SYNC_INTERVAL": "1", 
-            "SYNC_LDAP_USERNAME_CASE_CONVERSION": "lower", 
+            "SYNC_LDAP_USERNAME_CASE_CONVERSION": "none",
             "SYNC_LDAP_USER_SEARCH_FILTER": "-", 
             "SYNC_LDAP_URL": "ldap://localhost:389", 
-            "SYNC_LDAP_GROUPNAME_CASE_CONVERSION": "lower", 
+            "SYNC_LDAP_GROUPNAME_CASE_CONVERSION": "none",
             "SYNC_LDAP_USER_SEARCH_SCOPE": "sub", 
             "SYNC_LDAP_BIND_PASSWORD": "admin321", 
             "SYNC_LDAP_USER_NAME_ATTRIBUTE": "cn", 

http://git-wip-us.apache.org/repos/asf/ambari/blob/65f0ff68/ambari-server/src/test/python/stacks/2.2/configs/secured.json
----------------------------------------------------------------------
diff --git a/ambari-server/src/test/python/stacks/2.2/configs/secured.json b/ambari-server/src/test/python/stacks/2.2/configs/secured.json
index 2e8fa2f..11cf1eb 100644
--- a/ambari-server/src/test/python/stacks/2.2/configs/secured.json
+++ b/ambari-server/src/test/python/stacks/2.2/configs/secured.json
@@ -109,10 +109,10 @@
         }, 
         "usersync-properties": {
             "SYNC_INTERVAL": "1", 
-            "SYNC_LDAP_USERNAME_CASE_CONVERSION": "lower", 
+            "SYNC_LDAP_USERNAME_CASE_CONVERSION": "none",
             "SYNC_LDAP_USER_SEARCH_FILTER": "-", 
             "SYNC_LDAP_URL": "ldap://localhost:389", 
-            "SYNC_LDAP_GROUPNAME_CASE_CONVERSION": "lower", 
+            "SYNC_LDAP_GROUPNAME_CASE_CONVERSION": "none",
             "SYNC_LDAP_USER_SEARCH_SCOPE": "sub", 
             "SYNC_LDAP_BIND_PASSWORD": "admin321", 
             "SYNC_LDAP_USER_NAME_ATTRIBUTE": "cn", 

http://git-wip-us.apache.org/repos/asf/ambari/blob/65f0ff68/ambari-server/src/test/python/stacks/2.3/configs/spark_default.json
----------------------------------------------------------------------
diff --git a/ambari-server/src/test/python/stacks/2.3/configs/spark_default.json b/ambari-server/src/test/python/stacks/2.3/configs/spark_default.json
index 05e5ed8..80411ec 100644
--- a/ambari-server/src/test/python/stacks/2.3/configs/spark_default.json
+++ b/ambari-server/src/test/python/stacks/2.3/configs/spark_default.json
@@ -69,10 +69,10 @@
         }, 
         "usersync-properties": {
             "SYNC_INTERVAL": "1", 
-            "SYNC_LDAP_USERNAME_CASE_CONVERSION": "lower", 
+            "SYNC_LDAP_USERNAME_CASE_CONVERSION": "none",
             "SYNC_LDAP_USER_SEARCH_FILTER": "-", 
             "SYNC_LDAP_URL": "ldap://localhost:389", 
-            "SYNC_LDAP_GROUPNAME_CASE_CONVERSION": "lower", 
+            "SYNC_LDAP_GROUPNAME_CASE_CONVERSION": "none",
             "SYNC_LDAP_USER_SEARCH_SCOPE": "sub", 
             "SYNC_LDAP_BIND_PASSWORD": "admin321", 
             "SYNC_LDAP_USER_NAME_ATTRIBUTE": "cn", 
@@ -87,10 +87,10 @@
         }, 
         "usersync-properties": {
             "SYNC_INTERVAL": "1", 
-            "SYNC_LDAP_USERNAME_CASE_CONVERSION": "lower", 
+            "SYNC_LDAP_USERNAME_CASE_CONVERSION": "none",
             "SYNC_LDAP_USER_SEARCH_FILTER": "-", 
             "SYNC_LDAP_URL": "ldap://localhost:389", 
-            "SYNC_LDAP_GROUPNAME_CASE_CONVERSION": "lower", 
+            "SYNC_LDAP_GROUPNAME_CASE_CONVERSION": "none",
             "SYNC_LDAP_USER_SEARCH_SCOPE": "sub", 
             "SYNC_LDAP_BIND_PASSWORD": "admin321", 
             "SYNC_LDAP_USER_NAME_ATTRIBUTE": "cn", 

http://git-wip-us.apache.org/repos/asf/ambari/blob/65f0ff68/ambari-web/app/assets/data/stacks/HDP-2.2/configurations.json
----------------------------------------------------------------------
diff --git a/ambari-web/app/assets/data/stacks/HDP-2.2/configurations.json b/ambari-web/app/assets/data/stacks/HDP-2.2/configurations.json
index f09a3e8..b82c0ee 100644
--- a/ambari-web/app/assets/data/stacks/HDP-2.2/configurations.json
+++ b/ambari-web/app/assets/data/stacks/HDP-2.2/configurations.json
@@ -11855,7 +11855,7 @@
             "property_description" : "possible values:  none, lower, upper",
             "property_name" : "SYNC_LDAP_GROUPNAME_CASE_CONVERSION",
             "property_type" : [ ],
-            "property_value" : "lower",
+            "property_value" : "none",
             "service_name" : "RANGER",
             "stack_name" : "HDP",
             "stack_version" : "2.2",
@@ -11883,7 +11883,7 @@
             "property_description" : "possible values:  none, lower, upper",
             "property_name" : "SYNC_LDAP_USERNAME_CASE_CONVERSION",
             "property_type" : [ ],
-            "property_value" : "lower",
+            "property_value" : "none",
             "service_name" : "RANGER",
             "stack_name" : "HDP",
             "stack_version" : "2.2",
@@ -17284,4 +17284,4 @@
       ]
     }
   ]
-}
\ No newline at end of file
+}


Mime
View raw message