summaryrefslogtreecommitdiffstats
path: root/cert-updater/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cert-updater/main.cpp')
-rw-r--r--cert-updater/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cert-updater/main.cpp b/cert-updater/main.cpp
index c4be86d..8a490f9 100644
--- a/cert-updater/main.cpp
+++ b/cert-updater/main.cpp
@@ -196,7 +196,7 @@ int main(int argc, char *argv[])
LDAPCredentials* credentials = new LDAPCredentials;
credentials->username = "cn=admin," + basedn;
m_systemconfig->setGroup("Replication");
- credentials->password = m_systemconfig->readEntry("Password");
+ credentials->password = m_systemconfig->readEntry("Password").utf8();
m_systemconfig->setGroup(NULL);
credentials->realm = realmname;
LDAPManager* ldap_mgr = new LDAPManager(realmname, TQString("ldaps://%1/").arg(realmCAMaster), credentials);