Update INSTALL.md
This commit is contained in:
parent
a4c7a901b9
commit
f7e520ef16
21
INSTALL.md
21
INSTALL.md
@ -64,6 +64,27 @@ Notice the userPassword is invalid, let's set a proper one
|
|||||||
```
|
```
|
||||||
root@example:/# ldappasswd -x -D cn=admin,dc=example,dc=com -w admin -s qwerty uid=marisa,ou=people,dc=example,dc=com
|
root@example:/# ldappasswd -x -D cn=admin,dc=example,dc=com -w admin -s qwerty uid=marisa,ou=people,dc=example,dc=com
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## _3- Load and enable policies module_
|
||||||
|
|
||||||
|
Write the .ldif file and load the ppolicy.so module that comes with Debian libraries
|
||||||
|
```
|
||||||
|
root@example:/# cat > modify_ppolicy_module.ldif << 'EOF'
|
||||||
|
dn: cn=module{0},cn=config
|
||||||
|
changetype: modify
|
||||||
|
add: olcModuleLoad
|
||||||
|
olcModuleLoad: ppolicy.so
|
||||||
|
EOF`
|
||||||
|
```
|
||||||
|
```
|
||||||
|
ldapmodify -Q -Y EXTERNAL -H ldapi:/// -f modify_ppolicy_module.ldif
|
||||||
|
```
|
||||||
|
Restart slapd to load the module (copy and paste the following as a single line)
|
||||||
|
```
|
||||||
|
root@example:/etc/ldap/certs# slapd -h "ldap:/// ldapi:/// ldaps:///" -u openldap -g openldap &
|
||||||
|
sleep 3
|
||||||
|
```
|
||||||
|
|
||||||
<!--
|
<!--
|
||||||
Generate a password hash for our administrator user, Op3nLd4p! here being the password to comply with password policies
|
Generate a password hash for our administrator user, Op3nLd4p! here being the password to comply with password policies
|
||||||
```
|
```
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user