summaryrefslogtreecommitdiffstats
path: root/src/ldappasswddlg.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-06-06 13:47:24 -0500
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-06-06 13:47:24 -0500
commit16fb6be0dbb2bc1c318b4d287cb99c51239c80f4 (patch)
tree0b77a8b9f56000643cc03340c8fb2dbd1cca921a /src/ldappasswddlg.cpp
parentc1419e3a4c17f30aa504d9277a7750ce0a6b6a5a (diff)
downloadlibtdeldap-16fb6be0dbb2bc1c318b4d287cb99c51239c80f4.tar.gz
libtdeldap-16fb6be0dbb2bc1c318b4d287cb99c51239c80f4.zip
Enable SASL authentication
Diffstat (limited to 'src/ldappasswddlg.cpp')
-rw-r--r--src/ldappasswddlg.cpp8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/ldappasswddlg.cpp b/src/ldappasswddlg.cpp
index 8246d18..445956a 100644
--- a/src/ldappasswddlg.cpp
+++ b/src/ldappasswddlg.cpp
@@ -33,7 +33,7 @@
#include "ldappasswddlg.h"
LDAPPasswordDialog::LDAPPasswordDialog(TQWidget* parent, const char* name)
- : KDialogBase(parent, name, true, i18n("LDAP Authentication"), Ok|Cancel, Ok, true)
+ : KDialogBase(parent, name, true, i18n("LDAP Authentication"), Ok|Cancel|User1, Ok, true, i18n("Authenticate with SASL/GSSAPI"))
{
m_base = new LDAPLogin(this);
@@ -41,6 +41,12 @@ LDAPPasswordDialog::LDAPPasswordDialog(TQWidget* parent, const char* name)
}
void LDAPPasswordDialog::slotOk() {
+ use_gssapi = false;
+ accept();
+}
+
+void LDAPPasswordDialog::slotUser1() {
+ use_gssapi = true;
accept();
}