|
|
|
@ -203,6 +203,11 @@ void BondWizard::accept(){
|
|
|
|
|
finishpage->setEnabled(false);
|
|
|
|
|
|
|
|
|
|
if (LDAPManager::bondRealm(finishpage->ldapAdminUsername->text(), finishpage->ldapAdminPassword->password(), finishpage->ldapAdminRealm->text(), &errorString) == 0) {
|
|
|
|
|
m_finalRealm.bonded = true;
|
|
|
|
|
if (m_realmList->contains(m_finalRealm.name)) {
|
|
|
|
|
m_realmList->remove(m_finalRealm.name);
|
|
|
|
|
}
|
|
|
|
|
m_realmList->insert(m_finalRealm.name, m_finalRealm);
|
|
|
|
|
m_ldapConfig->save();
|
|
|
|
|
done(0);
|
|
|
|
|
}
|
|
|
|
|