Update INSTALL.md

This commit is contained in:
Marisa 2025-11-04 08:24:02 -05:00
parent 2e143f28cc
commit 34102a03ed

View File

@ -92,7 +92,15 @@ adding new entry "cn=admin,dc=example,dc=com"
That's all, our administrator user was properly done.
-->
## _3- Load and enable policy modules_
## _3- Add schemas_
Let's add one of the pre-installed policy schemas in /etc/ldap/schema/. The pre-installed schemas exists in both converted .ldif files, and native .schema formats, for now we dont have to convert them and can use ldapadd directly
```
root@example:/# ldapadd -Q -Y EXTERNAL -H ldapi:/// -f /etc/ldap/schema/corba.ldif
adding new entry "cn=corba,cn=schema,cn=config"
```
<!--## _3- Load and enable policy modules_
We need to make use of new schemas and **policies**, which in large part exists in /usr/lib/ppolicy.so -since the module exists, we are going to create modify_ppolicy_module.ldif to be able to make use of it:
```
@ -128,7 +136,7 @@ root@example:/# ldapadd -Q -Y EXTERNAL -H ldapi:/// -f enable_ppolicy.ldif
adding new entry "olcOverlay=ppolicy,olcDatabase={1}mdb,cn=config"
```
The policies module has been loaded and we can begin to configure password schemas and ACLs.
-->
## _4- Configure default password policies_
Create a basic overlay of your password policies: