Update INSTALL.md

This commit is contained in:
Marisa 2025-10-12 14:09:04 -04:00
parent 7d1fda5401
commit 3871e845d2

View File

@ -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"
```
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.
\
\
### _Enforcing password policies example_
### _<ins>Enforcing password policies example</ins>_
In order to enforce our password configuration we need something to control. This is a short example.
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)
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
```