diff --git a/INSTALL.md b/INSTALL.md index 15b11a7..2dc50ff 100644 --- a/INSTALL.md +++ b/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 +```