summaryrefslogtreecommitdiffstats
path: root/src/ldap.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/ldap.cpp')
-rw-r--r--src/ldap.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ldap.cpp b/src/ldap.cpp
index 1e8356f..a759641 100644
--- a/src/ldap.cpp
+++ b/src/ldap.cpp
@@ -477,7 +477,7 @@ TQString readFullLineFromPtyProcess(PtyProcess* proc) {
int LDAPConfig::bondRealm(LDAPRealmConfig realmcfg, TQString adminUserName, const char * adminPassword, TQString adminRealm, TQString *errstr) {
TQCString command = "kadmin";
QCStringList args;
- args << TQCString("-p") << TQCString(adminUserName+"@"+(adminRealm.upper()));
+ args << TQCString("-p") << TQCString(adminUserName+"@"+(adminRealm.upper())) << TQCString("-r") << TQCString(adminRealm.upper());
TQString hoststring = "host/"+m_fqdn;