summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike Fulbright <msf@redhat.com>2000-06-20 15:59:14 +0000
committerMike Fulbright <msf@redhat.com>2000-06-20 15:59:14 +0000
commit58b710793391a15a745582d1aac44c9815530350 (patch)
treeef6d880d5985f5582ced2caefe915273f1402a52
parent8f8265e07ecdb485df654de8fdfd02ffc9ee9ae3 (diff)
downloadanaconda-58b710793391a15a745582d1aac44c9815530350.tar.gz
anaconda-58b710793391a15a745582d1aac44c9815530350.tar.xz
anaconda-58b710793391a15a745582d1aac44c9815530350.zip
set ldap auth on if ldap enabled
-rw-r--r--iw/auth_gui.py2
-rw-r--r--textw/userauth_text.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/iw/auth_gui.py b/iw/auth_gui.py
index 7f6d940b6..5dd3e7d56 100644
--- a/iw/auth_gui.py
+++ b/iw/auth_gui.py
@@ -61,7 +61,7 @@ class AuthWindow (InstallWindow):
self.todo.auth.nisServer = self.nisServer.get_text ()
self.todo.auth.useLdap = self.ldap.get_active ()
- self.todo.auth.useLdapauth = 0
+ self.todo.auth.useLdapauth = self.ldap.get_active ()
self.todo.auth.ldapServer = self.ldapServer.get_text ()
self.todo.auth.ldapBasedn = self.ldapBasedn.get_text ()
diff --git a/textw/userauth_text.py b/textw/userauth_text.py
index b5d52cae4..c322b4694 100644
--- a/textw/userauth_text.py
+++ b/textw/userauth_text.py
@@ -398,7 +398,7 @@ class AuthConfigWindow:
todo.auth.nisuseBroadcast = self.broadcast.selected ()
todo.auth.nisServer = self.nisServer.value ()
todo.auth.useLdap = self.ldap.selected ()
- todo.auth.useLdapauth = 0
+ todo.auth.useLdapauth = self.ldap.selected ()
todo.auth.ldapServer = self.ldapServer.value()
todo.auth.ldapBasedn = self.ldapBasedn.value()
todo.auth.useKrb5 = self.krb5.selected()