diff options
author | bfox <bfox> | 2000-12-12 20:43:17 +0000 |
---|---|---|
committer | bfox <bfox> | 2000-12-12 20:43:17 +0000 |
commit | 4bad1f48d25f44e7084824df90be7b1440403f14 (patch) | |
tree | b83d95d310c2bb1b9b07387de8d0cc69eef45c75 | |
parent | 1bf62809910410c36ce9cd84ae3b863528ec0aa7 (diff) | |
download | anaconda-4bad1f48d25f44e7084824df90be7b1440403f14.tar.gz anaconda-4bad1f48d25f44e7084824df90be7b1440403f14.tar.xz anaconda-4bad1f48d25f44e7084824df90be7b1440403f14.zip |
Added code for LDAP TLS support
-rw-r--r-- | todo.py | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -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, |