Annuaire LDAP pour Evolution

De ClissXXI.

Les paquets:

aptitude install slapd

Installer rfc2739.scheme (par exemple depuis le paquet turba2).

Modifier /etc/slapd/slapd.conf:

include         /etc/ldap/schema/rfc2739.schema
include         /usr/local/share/evolution-data-server-1.6/evolutionperson.schema

Créer un mot de passe:

$ slappasswd -s password 
{SSHA}nIKiQQvsR3mksJeQlBhuEBgL3G4vsPjc 

L'ajouter dans /etc/slapd/slapd.conf:

suffix "dc=cliss21,dc=com"
rootdn "cn=Manager,dc=cliss21,dc=com"
rootpw {SSHA}nIKiQQvsR3mksJeQlBhuEBgL3G4vsPjc

Initialiser l'annuaire:

cat <<'EOF' | ldapadd -x -D "cn=Manager,dc=cliss21,dc=com" -W
dn: dc=cliss21,dc=com
objectclass:dcObject
objectclass: organization
o: Cliss XXI
dc: cliss21

dn: cn=Manager,dc=cliss21,dc=com
objectclass: organizationalRole
cn: Manager
EOF


Liens

Outils personnels