Fix bonding problems

pull/1/head
Timothy Pearson 12 years ago
parent 6ce8eaff99
commit b4c09d072a

@ -506,11 +506,17 @@ int LDAPConfig::bondRealm(LDAPRealmConfig realmcfg, TQString adminUserName, cons
// Success!
kadminProc.writeLine("quit", true);
realmcfg.bonded = true;
save();
return 0;
}
else if (prompt == "kadmin>") {
// Success!
kadminProc.writeLine("quit", true);
realmcfg.bonded = true;
save();
return 0;
}
@ -525,6 +531,8 @@ int LDAPConfig::bondRealm(LDAPRealmConfig realmcfg, TQString adminUserName, cons
}
int LDAPConfig::unbondRealm(LDAPRealmConfig realmcfg, TQString adminUserName, const char * adminPassword, TQString adminRealm, TQString *errstr) {
Q_UNUSED(realmcfg);
TQCString command = "kadmin";
QCStringList args;
args << TQCString("-p") << TQCString(adminUserName+"@"+(adminRealm.upper()));

Loading…
Cancel
Save