diff options
Diffstat (limited to 'src/ldapbonding.cpp')
-rw-r--r-- | src/ldapbonding.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/ldapbonding.cpp b/src/ldapbonding.cpp index 51eb7ec..4c2393b 100644 --- a/src/ldapbonding.cpp +++ b/src/ldapbonding.cpp @@ -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())); |