pull/1/head
Timothy Pearson 12 years ago
parent c2654f5408
commit e0f5e6ac4e

@ -2835,7 +2835,6 @@ int LDAPManager::bondRealm(LDAPRealmConfig realmcfg, TQString adminUserName, con
kadminProc.writeLine("quit", true);
realmcfg.bonded = true;
save();
return 0;
}
else if (prompt == "kadmin>") {
@ -2843,7 +2842,6 @@ int LDAPManager::bondRealm(LDAPRealmConfig realmcfg, TQString adminUserName, con
kadminProc.writeLine("quit", true);
realmcfg.bonded = true;
save();
return 0;
}
@ -2900,9 +2898,9 @@ int LDAPManager::unbondRealm(LDAPRealmConfig realmcfg, TQString adminUserName, c
kadminProc.writeLine("quit", true);
// Delete keys from keytab
TQString commmand = TQString("ktutil remove -p %1").arg(hostprinc);
command = TQString("ktutil remove -p %1").arg(hostprinc);
if (system(command) < 0) {
printf("ERROR: Execution of \"%s\" failed!\n\r", command.ascii());
printf("ERROR: Execution of \"%s\" failed!\n\r", command.data());
return 1; // Failure
}

Loading…
Cancel
Save