summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbfox <bfox>2000-12-12 20:43:17 +0000
committerbfox <bfox>2000-12-12 20:43:17 +0000
commit4bad1f48d25f44e7084824df90be7b1440403f14 (patch)
treeb83d95d310c2bb1b9b07387de8d0cc69eef45c75
parent1bf62809910410c36ce9cd84ae3b863528ec0aa7 (diff)
downloadanaconda-4bad1f48d25f44e7084824df90be7b1440403f14.tar.gz
anaconda-4bad1f48d25f44e7084824df90be7b1440403f14.tar.xz
anaconda-4bad1f48d25f44e7084824df90be7b1440403f14.zip
Added code for LDAP TLS support
-rw-r--r--todo.py8
1 files changed, 7 insertions, 1 deletions
diff --git a/todo.py b/todo.py
index 3ea0e36d9..f0c59ebe4 100644
--- a/todo.py
+++ b/todo.py
@@ -296,6 +296,7 @@ class Authentication:
self.useLdapauth = 0
self.ldapServer = ""
self.ldapBasedn = ""
+ self.ldapTLS = ""
self.useKrb5 = 0
self.krb5Realm = ""
@@ -730,6 +731,10 @@ class ToDo:
args.append (self.auth.ldapServer)
args.append ("--ldapbasedn")
args.append (self.auth.ldapBasedn)
+ if self.auth.ldapTLS:
+ args.append ("--enableldaptls")
+ else:
+ args.append ("--disableldaptls")
if self.auth.useKrb5:
args.append ("--enablekrb5")
@@ -747,7 +752,8 @@ class ToDo:
args.append ("--hesiodrhs")
args.append (self.auth.hesiodRhs)
-# log ("running authentication cmd |%s|" % args)
+
+ log ("running authentication cmd |%s|" % args)
try:
iutil.execWithRedirect(args[0], args,
stdout = None, stderr = None,