Update INSTALL.md
This commit is contained in:
parent
7d1fda5401
commit
3871e845d2
@ -101,9 +101,8 @@ root@example:/# ldapadd -x -D "cn=admin,dc=example,dc=com" -w Op3nLd4p! -H ldapi
|
|||||||
adding new entry "cn=default,ou=policies,dc=example,dc=com"
|
adding new entry "cn=default,ou=policies,dc=example,dc=com"
|
||||||
```
|
```
|
||||||
You can change password policies like pwdMinLength, pwdMaxFailure, pwdMaxAge, etc. and all organizationalUnits (and therefore, their users) will be affected by default unless configured otherwise.
|
You can change password policies like pwdMinLength, pwdMaxFailure, pwdMaxAge, etc. and all organizationalUnits (and therefore, their users) will be affected by default unless configured otherwise.
|
||||||
\
|
|
||||||
\
|
### _<ins>Enforcing password policies example</ins>_
|
||||||
### _Enforcing password policies example_
|
|
||||||
In order to enforce our password configuration we need something to control. This is a short example.
|
In order to enforce our password configuration we need something to control. This is a short example.
|
||||||
Create the an organizationalUnit:
|
Create the an organizationalUnit:
|
||||||
```
|
```
|
||||||
@ -154,7 +153,7 @@ root@example:/# ldappasswd -x -w qwerty -H ldapi:/// -D "uid=marisa,ou=Supergirl
|
|||||||
Result: Constraint violation (19)
|
Result: Constraint violation (19)
|
||||||
Additional info: Password fails quality checking policy
|
Additional info: Password fails quality checking policy
|
||||||
```
|
```
|
||||||
Password rejected because we established before pwdMinLength was 8.
|
Password "marisakirisame" is rejected because we established before pwdMinLength was 8.
|
||||||
```
|
```
|
||||||
root@example:/# ldappasswd -x -w qwerty -H ldapi:/// -D "uid=marisa,ou=Supergirls,dc=example,dc=com" -s kirisame
|
root@example:/# ldappasswd -x -w qwerty -H ldapi:/// -D "uid=marisa,ou=Supergirls,dc=example,dc=com" -s kirisame
|
||||||
```
|
```
|
||||||
|
Loading…
Reference in New Issue
Block a user