centos7_openldap_ppolicy
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revisionNext revisionBoth sides next revision | ||
centos7_openldap_ppolicy [2015/09/15 09:38] – created admin | centos7_openldap_ppolicy [2015/09/15 09:41] – admin | ||
---|---|---|---|
Line 3: | Line 3: | ||
=====CentOS 7 - OpenLDAP 2.4 password policy (ppolicy)===== | =====CentOS 7 - OpenLDAP 2.4 password policy (ppolicy)===== | ||
- | ====Configure | + | ====Configure |
* Load the ppolicy schema:< | * Load the ppolicy schema:< | ||
* Load the module:< | * Load the module:< | ||
Line 16: | Line 16: | ||
objectClass: | objectClass: | ||
olcPPolicyDefault: | olcPPolicyDefault: | ||
+ | EOF</ | ||
+ | ====Configure Provider (master)==== | ||
+ | * Create the policies OU:< | ||
+ | dn: ou=policies, | ||
+ | objectClass: | ||
+ | objectClass: | ||
+ | ou: policies | ||
+ | EOF</ | ||
+ | * Create the ppolice object:< | ||
+ | dn: cn=ppolicy, | ||
+ | cn: ppolicy | ||
+ | objectClass: | ||
+ | objectClass: | ||
+ | objectClass: | ||
+ | objectClass: | ||
+ | pwdAttribute: | ||
+ | pwdInHistory: | ||
+ | pwdMinLength: | ||
+ | pwdMaxFailure: | ||
+ | pwdFailureCountInterval: | ||
+ | pwdCheckQuality: | ||
+ | pwdMustChange: | ||
+ | pwdGraceAuthNLimit: | ||
+ | pwdMaxAge: 7776000 | ||
+ | pwdExpireWarning: | ||
+ | pwdLockoutDuration: | ||
+ | pwdLockout: TRUE | ||
EOF</ | EOF</ |
centos7_openldap_ppolicy.txt · Last modified: 2021/10/09 15:14 by 127.0.0.1