Enable LDAP authentication flag at install time

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

Branch: refs/heads/master
Commit: a369f0c82299ff9feb59be59367c2da986d861bb
Parents: 875cb17
Author: venkat1m <venkat.muthusw...@esgyn.com>
Authored: Fri Feb 16 02:35:33 2018 +0000
Committer: venkat1m <venkat.muthusw...@esgyn.com>
Committed: Fri Feb 16 02:35:33 2018 +0000

----------------------------------------------------------------------
 install/python-installer/scripts/traf_ldap.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/trafodion/blob/a369f0c8/install/python-installer/scripts/traf_ldap.py
----------------------------------------------------------------------
diff --git a/install/python-installer/scripts/traf_ldap.py 
b/install/python-installer/scripts/traf_ldap.py
index 2d0b9f8..c2e1a48 100755
--- a/install/python-installer/scripts/traf_ldap.py
+++ b/install/python-installer/scripts/traf_ldap.py
@@ -69,7 +69,7 @@ def run():
     #    err('Failed to access LDAP server with user %s' % db_root_user)
 
     print 'Modfiy sqenvcom.sh to turn on authentication'
-    mod_file(sqenv_file, 
{'TRAFODION_ENABLE_AUTHENTICATION=NO':'TRAFODION_ENABLE_AUTHENTICATION=YES'})
+    mod_file(sqenv_file, 
{'TRAFODION_ENABLE_AUTHENTICATION=.*':'TRAFODION_ENABLE_AUTHENTICATION=YES'})
 
 # main
 try:

Reply via email to