Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
path: root/nslcd/cfg.h
diff options
context:
space:
mode:
authorMathieu Baeumler <mathieu.baeumler@gmail.com>2015-10-18 18:37:53 +0200
committerArthur de Jong <arthur@arthurdejong.org>2016-01-06 23:55:08 +0100
commit31cd2cf4dc588f2a11c8223ef9e1962c849466eb (patch)
tree86a3721b4442ff3a0430aaab05a7f7dbfff1911a /nslcd/cfg.h
parent117c9cbc54c306a31990ede47d83a80fb339320a (diff)
Add pam_authc_ppolicy option
This option allows completely disabling ppolicy handling.
Diffstat (limited to 'nslcd/cfg.h')
-rw-r--r--nslcd/cfg.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/nslcd/cfg.h b/nslcd/cfg.h
index adc812b..8e39705 100644
--- a/nslcd/cfg.h
+++ b/nslcd/cfg.h
@@ -107,6 +107,9 @@ struct ldap_config {
int deref; /* dereference aliases/links */
int referrals; /* chase referrals */
+#if defined(HAVE_LDAP_SASL_BIND) && defined(LDAP_SASL_SIMPLE)
+ int pam_authc_ppolicy; /* whether to send password policy controls on bind */
+#endif
int bind_timelimit; /* bind timelimit */
int timelimit; /* search timelimit */
int idle_timelimit; /* idle timeout */