summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-07-11 18:19:49 +0000
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-07-11 18:19:49 +0000
commit92881172737d6fd3967e5c14286169eb8919d2ae (patch)
tree13697002ce11858305d81133460e0258536946b7
parenta8d5dff35b4310a17da6a0956f718519da1f68cd (diff)
downloadkcmldapcontroller-92881172.tar.gz
kcmldapcontroller-92881172.zip
Fix prior commit
-rw-r--r--src/ldapcontroller.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ldapcontroller.cpp b/src/ldapcontroller.cpp
index 8952e1a..bf7a067 100644
--- a/src/ldapcontroller.cpp
+++ b/src/ldapcontroller.cpp
@@ -1026,9 +1026,9 @@ void replacePlaceholdersInFile(TQString infile, TQString outfile, LDAPRealmConfi
line.replace("@@@REALM_DCNAME@@@", basedcname);
line.replace("@@@REALM_UCNAME@@@", realmconfig.name.upper());
line.replace("@@@REALM_LCNAME@@@", realmconfig.name.lower());
- line.replace("@@@ADMINSERVER@@@", realmconfig.name.lower());
+ line.replace("@@@ADMINSERVER@@@", realmconfig.admin_server);
line.replace("@@@ADMINPORT@@@", TQString("%1").arg(realmconfig.admin_server_port));
- line.replace("@@@KDCSERVER@@@", realmconfig.name.lower());
+ line.replace("@@@KDCSERVER@@@", realmconfig.kdc);
line.replace("@@@KDCPORT@@@", TQString("%1").arg(realmconfig.kdc_port));
line.replace("@@@ROOTUSER@@@", rootUserName);
line.replace("@@@ROOTPW_SHA@@@", rootpw_hash);