From bb72c681df66c174f16ed8a1a3502a9892034ef2 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Mon, 21 May 2012 00:54:46 -0500 Subject: Add pam file writing and clean up a bit --- src/bondwizard.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/bondwizard.cpp') diff --git a/src/bondwizard.cpp b/src/bondwizard.cpp index 03ca5a6..d9a36c2 100644 --- a/src/bondwizard.cpp +++ b/src/bondwizard.cpp @@ -188,12 +188,12 @@ void BondWizard::closeEvent(TQCloseEvent* e){ /** maybe call a dialog that the wizard has finished. */ void BondWizard::accept(){ // Try to bond - if (m_ldapConfig->bondRealm(m_finalRealm, finishpage->ldapAdminUsername->text(), finishpage->ldapAdminPassword->password(), finishpage->ldapAdminRealm->text()) == 0) { + TQString errorString; + if (m_ldapConfig->bondRealm(m_finalRealm, finishpage->ldapAdminUsername->text(), finishpage->ldapAdminPassword->password(), finishpage->ldapAdminRealm->text(), &errorString) == 0) { done(0); } else { - KMessageBox::error(this, i18n("Unable to bond to realm!

RAJA ERRORSTR"), i18n("Unable to Bond to Realm")); - // RAJA FIXME + KMessageBox::error(this, i18n("Unable to bond to realm!

Details: %1").arg(errorString), i18n("Unable to Bond to Realm")); } } -- cgit v1.2.1