30,997
edits
| Line 32: | Line 32: | ||
= Créer votre arbre LDAP = | = Créer votre arbre LDAP = | ||
L'étape suivante consiste à définir les informations à stocker dans l'annuaire LDAP et leur organisation. | L'étape suivante consiste à définir les informations à stocker dans l'annuaire LDAP et leur organisation. | ||
Créer un fichier init.ldif contenant votre organisation. Par exemple: | |||
<source lang="ini"> | |||
# Organization | |||
dn: dc=mydomain,dc=com | |||
objectclass: dcObject | |||
objectclass: organization | |||
dc: mydomain | |||
o: Description of annuary | |||
description: The description of annuary | |||
# Setting up container for Users OU | |||
dn: ou=People,dc=mydomain,dc=com | |||
objectclass: top | |||
objectclass: organizationalUnit | |||
ou: People | |||
# Setting up container for groups | |||
dn: ou=Groups,dc=mydomain,dc=com | |||
objectclass: top | |||
objectclass: organizationalUnit | |||
ou: Groups | |||
</source> | |||