Use new function for LDAP client config