diff --git a/src/libtdeldap.cpp b/src/libtdeldap.cpp index 0b9a264..4d95d79 100644 --- a/src/libtdeldap.cpp +++ b/src/libtdeldap.cpp @@ -2812,7 +2812,7 @@ int LDAPManager::writeLDAPConfFile(LDAPRealmConfig realmcfg, TQString *errstr) { stream << "bind_policy " << m_bindPolicy.lower() << "\n"; stream << "pam_password " << m_passwordHash.lower() << "\n"; stream << "nss_initgroups_ignoreusers " << m_ignoredUsers << "\n"; - stream << "tls_cacert " << KERBEROS_PKI_PUBLICDIR << realmcfg.admin_server << ".ldap.crt" << "\n"; + stream << "tls_cacert " << KERBEROS_PKI_PEM_FILE << "\n"; } file.close();