aboutsummaryrefslogtreecommitdiffstats
path: root/ldap/ppolicy.ldif
blob: 6733b1e654d1a52253636b46651c4a0500656f21 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# Load this file with
#
#   ldapadd -Y EXTERNAL -H ldapi:/// -f ppolicy.ldif
#
# It will load the "ppolicy" overlay configuration for the database #1.
# Ensure that it's indeed the database #1 that you want to configure:
#
#   ldapsearch -Q -LLL -Y EXTERNAL -H ldapi:/// -b "cn=config" "olcSuffix=o=mailHosting,dc=fripost,dc=dev" dn
#
# Note: There is no clean way to remove/replace overlays, other than
# stopping slapd and digging into the slapd.d directory:
#   http://www.zytrax.com/books/ldap/ch6/slapd-config.html#use-overlays
#
#
# References:
# - http://www.openldap.org/doc/admin24/overlays.html#Password%20Policies
# - http://www.zytrax.com/books/ldap/ch6/ppolicy.html
# - man 5 slapo-ppolicy


dn: olcOverlay=ppolicy,olcDatabase={1}hdb,cn=config
objectClass: olcOverlayConfig
objectClass: olcPPolicyConfig
olcPPolicyDefault: cn=users,ou=ppolicies,o=mailHosting,dc=fripost,dc=dev
olcPPolicyHashCleartext: TRUE
olcPPolicyUseLockout: FALSE