Ben's notes

Linux, Unix, network, radio...

User Tools

Site Tools


centos7_openldap_ppolicy

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
centos7_openldap_ppolicy [2015/09/15 09:40] – [Configure Provider (master)] admincentos7_openldap_ppolicy [2021/10/09 15:14] (current) – external edit 127.0.0.1
Line 1: Line 1:
 {{tag>[centos7 linux ldap openldap security ppolicy]}} {{tag>[centos7 linux ldap openldap security ppolicy]}}
-~~TOC~~ 
    
 =====CentOS 7 - OpenLDAP 2.4 password policy (ppolicy)===== =====CentOS 7 - OpenLDAP 2.4 password policy (ppolicy)=====
Line 19: Line 18:
 ====Configure Provider (master)==== ====Configure Provider (master)====
   * Create the policies OU:<code># ldapadd -H ldaps://<FQDN> -x -D "cn=Manager,dc=domain,dc=tld" -W <<EOF   * Create the policies OU:<code># ldapadd -H ldaps://<FQDN> -x -D "cn=Manager,dc=domain,dc=tld" -W <<EOF
-dn: ou=policies,dc=polaire,dc=nl+dn: ou=policies,dc=domain,dc=tld
 objectClass: top objectClass: top
 objectClass: organizationalUnit objectClass: organizationalUnit
 ou: policies ou: policies
 EOF</code> EOF</code>
-  * Create the ppolice object:<code># ldapadd -H ldaps://<FQDN> -x -D "cn=Manager,dc=domain,dc=tld" -W <<EOF+  * Create the ppolicy object:<code># ldapadd -H ldaps://<FQDN> -x -D "cn=Manager,dc=domain,dc=tld" -W <<EOF
 dn: cn=ppolicy,ou=policies,dc=domain,dc=tld dn: cn=ppolicy,ou=policies,dc=domain,dc=tld
 cn: ppolicy cn: ppolicy
centos7_openldap_ppolicy.txt · Last modified: 2021/10/09 15:14 by 127.0.0.1