ranger-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mad...@apache.org
Subject [02/13] incubator-ranger git commit: RANGER-642 : Update USERSEARCHFILTER for Ranger Authentication on Windows
Date Wed, 16 Sep 2015 20:29:13 GMT
RANGER-642 : Update USERSEARCHFILTER for Ranger Authentication on Windows

Signed-off-by: Velmurugan Periasamy <vel@apache.org>


Project: http://git-wip-us.apache.org/repos/asf/incubator-ranger/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-ranger/commit/2a6efecc
Tree: http://git-wip-us.apache.org/repos/asf/incubator-ranger/tree/2a6efecc
Diff: http://git-wip-us.apache.org/repos/asf/incubator-ranger/diff/2a6efecc

Branch: refs/heads/tag-policy
Commit: 2a6efecc3c5586238601226185e49ef4f31886c0
Parents: c80ee04
Author: Gautam Borad <gborad@gmail.com>
Authored: Wed Sep 9 14:55:19 2015 +0530
Committer: Velmurugan Periasamy <vel@apache.org>
Committed: Thu Sep 10 01:45:19 2015 -0400

----------------------------------------------------------------------
 security-admin/src/bin/ranger_install.py | 8 ++++++++
 1 file changed, 8 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ranger/blob/2a6efecc/security-admin/src/bin/ranger_install.py
----------------------------------------------------------------------
diff --git a/security-admin/src/bin/ranger_install.py b/security-admin/src/bin/ranger_install.py
index 2970715..99c8ab8 100644
--- a/security-admin/src/bin/ranger_install.py
+++ b/security-admin/src/bin/ranger_install.py
@@ -944,6 +944,10 @@ def update_properties():
         propertyName="ranger.ldap.referral"
         newPropertyValue=os.getenv("RANGER_LDAP_REFERRAL")
         updatePropertyToFilePy(propertyName ,newPropertyValue ,to_file_ranger)
+
+	propertyName="ranger.ldap.user.searchfilter"
+	newPropertyValue=os.getenv("RANGER_LDAP_USERSEARCHFILTER")
+	updatePropertyToFilePy(propertyName ,newPropertyValue ,to_file_ranger)
          
     elif os.getenv("RANGER_AUTHENTICATION_METHOD") == "ACTIVE_DIRECTORY":
         propertyName="ranger.authentication.method"
@@ -974,6 +978,10 @@ def update_properties():
         newPropertyValue=os.getenv("RANGER_LDAP_AD_REFERRAL")
         updatePropertyToFilePy(propertyName ,newPropertyValue ,to_file_ranger)
 
+	propertyName="ranger.ldap.ad.user.searchfilter"
+	newPropertyValue=os.getenv("RANGER_LDAP_AD_USERSEARCHFILTER")
+	updatePropertyToFilePy(propertyName ,newPropertyValue ,to_file_ranger)
+
 def setup_authentication(authentication_method, xmlPath):
    if authentication_method == "UNIX":
        # log("Setting up UNIX authentication for : " + xmlPath,"debug")


Mime
View raw message