summaryrefslogtreecommitdiff
path: root/plugins/sudoers/ldap.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/sudoers/ldap.c')
-rw-r--r--plugins/sudoers/ldap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/sudoers/ldap.c b/plugins/sudoers/ldap.c
index c625bd630..a09567126 100644
--- a/plugins/sudoers/ldap.c
+++ b/plugins/sudoers/ldap.c
@@ -226,7 +226,7 @@ sudo_ldap_init(LDAP **ldp, const char *host, int port)
ldapssl_err2string(ret));
if (ldap_conf.tls_certfile == NULL)
sudo_warnx(U_("you must set TLS_CERT in %s to use SSL"),
- path_ldap_conf);
+ policy_path_ldap_conf());
goto done;
}