Update INSTALL.md
This commit is contained in:
parent
34102a03ed
commit
87132950f5
16
INSTALL.md
16
INSTALL.md
@ -94,12 +94,26 @@ That's all, our administrator user was properly done.
|
||||
|
||||
## _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 don’t have to convert them and can use ldapadd directly
|
||||
Let's add one of the policy schemas that comes with openLDAP, these files can be found in /etc/ldap/schema/. The pre-installed schemas exists in both converted .ldif files that can be loaded directly, as well native .schema formats which can be converted to .ldif files with the package schema2ldif (not loaded by default in this container) if neccesary.
|
||||
```
|
||||
root@example:/# ldapadd -Q -Y EXTERNAL -H ldapi:/// -f /etc/ldap/schema/corba.ldif
|
||||
adding new entry "cn=corba,cn=schema,cn=config"
|
||||
```
|
||||
We need to make sure we have at least the following schemas loaded:
|
||||
```
|
||||
root@example:/# ldapsearch -Q -LLL -Y EXTERNAL -H ldapi:/// -b cn=schema,cn=config dn
|
||||
dn: cn=schema,cn=config
|
||||
|
||||
dn: cn={0}core,cn=schema,cn=config
|
||||
|
||||
dn: cn={1}cosine,cn=schema,cn=config
|
||||
|
||||
dn: cn={2}nis,cn=schema,cn=config
|
||||
|
||||
dn: cn={3}inetorgperson,cn=schema,cn=config
|
||||
|
||||
dn: cn={4}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:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user