From c9177222da536b05576f268f60896f40cb8a954c Mon Sep 17 00:00:00 2001 From: Slávek Banko Date: Sun, 7 Apr 2019 20:41:32 +0200 Subject: Added controlled conversions to char* instead of automatic ascii conversions. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Slávek Banko --- src/ldapcontroller.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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; -- cgit v1.2.3