Je dois metrte en oeuvre un serveur LDAP dans mon entreprise, pour y stocker tout les contacts de tout del de monde.
Seulement je rencontre quelques petits problèmes, je viens donc demander de l'aide aux pros

Je suis Ubuntu 8.04 .
J'ai suivi ce tuto .
Apres de multiples galère j'ai reussi a faire de la première partie qui consiste a recompiler Thunderbird.
J'ai reussi a charger mon init.ldif qui est :
Init.ldif :
Code : Tout sélectionner
dn: dc=annuaire,dc=com
objectClass: top
objectClass: dcObject
objectClass: organizationalUnit
dc: annuaire
ou: annuaire
dn: ou=personel,dc=annuaire,dc=com
objectClass: organizationalUnit
ou: personel
Code : Tout sélectionner
sudo /etc/init.d/slapd start
Code : Tout sélectionner
Starting OpenLDAP: slapd - failed.
The operation failed but no output was produced. For hints on what went
wrong please refer to the system's logfiles (e.g. /var/log/syslog) or
try running the daemon in Debug mode like via "slapd -d 16383" (warning:
this will create copious output).
Below, you can find the command line options used by this script to
run slapd. Do not forget to specify those options if you
want to look to debugging output:
slapd -g openldap -u openldap -f /etc/ldap/slapd.conf
Code : Tout sélectionner
Jun 10 15:59:08 laptop slapd[29639]: @(#) $OpenLDAP: slapd 2.4.7 (Apr 29 2008 08:44:27) $ ^Ibuildd@rothera:/build/buildd/openldap2.3-2.4.7/debian/build/servers/slapd
Jun 10 15:59:08 laptop slapd[29639]: /etc/ldap/slapd.conf: line 68: invalid path: Permission denied
Jun 10 15:59:08 laptop slapd[29639]: slapd stopped.
Jun 10 15:59:08 laptop slapd[29639]: connections_destroy: nothing to destroy.
slapadd -v -l petit_carnet.ldif
Code : Tout sélectionner
slapadd: line 1: database (dc=annuaire,dc=com) not configured to hold "cn=personel,mail=bouh@laposte.net"
slapadd: line 1: database (dc=annuaire,dc=com) not configured to hold "cn=personel,mail=bouh@laposte.net"
Code : Tout sélectionner
dn: cn=personel,mail=bouh@laposte.net
objectClass: top
objectClass: dcObject
objectClass: organizationalUnit
givenName:bouh
cn: bouh@laposte.net
mail: bouh@laposte.net
Voici mon slapd.conf
Code : Tout sélectionner
#
# See slapd.conf(5) for details on configuration options.
# This file should NOT be world readable.
#
include /etc/ldap/schema/core.schema
include /etc/ldap/schema/cosine.schema
#include /etc/ldap/schema/nis.schema
#include /etc/ldap/schema/monschema.schema
# Define global ACLs to disable default read access.
# Do not enable referrals until AFTER you have a working directory
# service AND an understanding of referrals.
#referral ldap://root.openldap.org
pidfile /etc/run/slapd.pid
argsfile /etc/run/slapd.args
# Load dynamic backend modules:
modulepath /usr/lib/ldap/
moduleload back_bdb.la
# moduleload back_ldap.la
# moduleload back_ldbm.la
# moduleload back_passwd.la
# moduleload back_shell.la
# Sample security restrictions
# Require integrity protection (prevent hijacking)
# Require 112-bit (3DES or better) encryption for updates
# Require 63-bit encryption for simple bind
# security ssf=1 update_ssf=112 simple_bind=64
# Sample access control policy:
# Root DSE: allow anyone to read it
# Subschema (sub)entry DSE: allow anyone to read it
# Other DSEs:
# Allow self write access
# Allow authenticated users read access
# Allow anonymous users to authenticate
# Directives needed to implement policy:
# access to dn.base="" by * read
# access to dn.base="cn=Subschema" by * read
# access to *
# by self write
# by users read
# by anonymous auth
#
# if no access controls are present, the default policy
# allows anyone and everyone to read anything but restricts
# updates to rootdn. (e.g., "access to * by * read")
#
# rootdn can always read and write EVERYTHING!
#######################################################################
# BDB database definitions
#######################################################################
database bdb
suffix "dc=annuaire,dc=com"
rootdn "cn=Manager,dc=annuaire,dc=com"
# Cleartext passwords, especially for the rootdn, should
# be avoid. See slappasswd(8) and slapd.conf(5) for details.
# Use of strong authentication encouraged.
rootpw secret
# The database directory MUST exist prior to running slapd AND
# should only be accessible by the slapd and slap tools.
# Mode 700 recommended.
directory /etc/ldap/data/
# Indices to maintain
index objectClass eq
Code : Tout sélectionner
#
# LDAP Defaults
#
# See ldap.conf(5) for details
# This file should be world readable but not world writable.
BASE dc=annuaire,dc=com
URI ldap://ldap.annuaire.com ldap://ldap-master.annuaire.com:389
#SIZELIMIT 12
#TIMELIMIT 15
#DEREF never
Merci d'avoir pris le temps de lire ce topic, et encore plus merci si vous me repondez

Message envoyé avec : Mozilla/5.0 (X11; U; Linux i686; fr; rv:1.9) Gecko/2008060309 Firefox/3.0