diff options
author | bfox <bfox> | 2000-12-13 20:59:26 +0000 |
---|---|---|
committer | bfox <bfox> | 2000-12-13 20:59:26 +0000 |
commit | e73241f3b371c41f5bad04e30bfb794f0010b423 (patch) | |
tree | 3bf6fc3067e0dc14ba14ceb65cad24cafab44842 /textw/userauth_text.py | |
parent | 4f64540a256ad1e6167d55b75e8dc87655f2c92f (diff) | |
download | anaconda-e73241f3b371c41f5bad04e30bfb794f0010b423.tar.gz anaconda-e73241f3b371c41f5bad04e30bfb794f0010b423.tar.xz anaconda-e73241f3b371c41f5bad04e30bfb794f0010b423.zip |
Added support for ldapTLS
Diffstat (limited to 'textw/userauth_text.py')
-rw-r--r-- | textw/userauth_text.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/textw/userauth_text.py b/textw/userauth_text.py index 1de62aa50..c266dd669 100644 --- a/textw/userauth_text.py +++ b/textw/userauth_text.py @@ -348,6 +348,7 @@ class AuthConfigWindow: 1, 0, (2, 0, 1, 0), anchorRight = 1) subgrid2.setField (Label (_("LDAP Base DN:")), 1, 1, (2, 0, 1, 0), anchorRight = 1) + self.ldapServer = Entry (entrywid) self.ldapServer.set (todo.auth.ldapServer) self.ldapBasedn = Entry (entrywid) @@ -355,6 +356,9 @@ class AuthConfigWindow: subgrid2.setField (self.ldapServer, 2, 0, anchorLeft = 1) subgrid2.setField (self.ldapBasedn, 2, 1, anchorLeft = 1) + self.ldapTLS = Checkbox (_("Use TLS connections"), 0) + subgrid2.setField (self.ldapTLS, 2, 2, anchorLeft = 1) + toplevel.add (subgrid2, 0, 3, (0, 0, 0, 0)) # set up callbacks @@ -410,6 +414,7 @@ class AuthConfigWindow: todo.auth.useLdapauth = self.ldap.selected () todo.auth.ldapServer = self.ldapServer.value() todo.auth.ldapBasedn = self.ldapBasedn.value() + todo.auth.ldapTLS = self.ldapTLS.selected () todo.auth.useKrb5 = self.krb5.selected() todo.auth.krb5Realm = self.krb5Realm.value() todo.auth.krb5Kdc = self.krb5Kdc.value() |