summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/libtdeldap.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/libtdeldap.cpp b/src/libtdeldap.cpp
index 83574fc..eef035a 100644
--- a/src/libtdeldap.cpp
+++ b/src/libtdeldap.cpp
@@ -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
}