In this point we will give the initial data of our necessary LDAP tree for GOsa. Also we will indicate how to make the load of the data and what to do in the case of a unique servant or in a case where are replicas.
The load can be done of two ways, one is trought of slapadd and the other is trought of ldapadd.
In the first case the load is made against the database, this replication does not exist and then will not be update the data in LDAP server until is initiated again, the load of data this way must be done with the server stopped. In the second case, the load will be trought LDAP and it will update self and will be replicated in the pertinent way.
For a load from zero of the database, we will have to do it from slapadd, with the daemon slapd stopped.
The way slapadd must be used is:
#slapadd -v -l fichero_con_datos.ldif
LDIF is the standard format to save data from LDAP. GOsa come with its own ldif of example, in following two points we will explain how it must be used for our necessities.