summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ldapcontroller.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ldapcontroller.cpp b/src/ldapcontroller.cpp
index 9467b61..cff47cc 100644
--- a/src/ldapcontroller.cpp
+++ b/src/ldapcontroller.cpp
@@ -977,7 +977,7 @@ void LDAPController::save() {
// Use the local password for inter-master authentication
// All realm controllers in a realm must (obviously) use the same admin/config password!
m_systemconfig->setGroup("Replication");
- replicationSettings.syncPassword = m_systemconfig->readEntry("Password");
+ replicationSettings.syncPassword = m_systemconfig->readEntry("Password").utf8();
m_systemconfig->setGroup(NULL);
// Use the TDE LDAP CA for replication TLS
replicationSettings.caCertificateFile = KERBEROS_PKI_PEM_FILE;