From c9177222da536b05576f268f60896f40cb8a954c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= 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 --- cert-updater/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cert-updater') 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); -- cgit v1.2.1