j'ai donc installer "apt-get install slapd"
Mon fichier "/etc/ldap/slapd.conf" est configurer par défaut, avec les options que Debian m'a demandé.
Quand je lance le serveur "/etc/init.d/slapd restart" j'ai le message suivant :
Stopping OpenLDAP: slapd. Starting OpenLDAP: (slapd running, no recovery), 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).
je tape donc "slapd -d 16383" et j'ai le message suivant :
@(#) $OpenLDAP: slapd 2.2.23 (May 30 2005 08:52:42) $ @pulsar:/home/torsten/packages/openldap/openldap2.2-2.2.23/debian/build/servers/slapd daemon_init: <null> daemon_init: listen on ldap:/// daemon_init: 1 listeners to open... ldap_url_parse_ext(ldap:///) daemon: IPv6 socket() failed errno=97 (Address family not supported by protocol) daemon: bind(6) failed errno=98 (Address already in use) slap_open_listener: failed on ldap:/// slapd stopped. connections_destroy: nothing to destroy.
Cela concerne donc l'IPv6 pour ne pas prendre en compte l'IPv6 il faut modifier "/etc/defautl/slapd" et mettre SLAPD_OPTIONS="-4" je relance le serveur "/etc/init.d/slapd restart" et j'ai maintenant le message suivant :
Stopping OpenLDAP: slapd. Starting OpenLDAP: (slapd running, no recovery), 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 and slurpd. Do not forget to specify those options if you want to look to debugging output: slapd -4
Est-ce que quelqu'un peut m'aider svp ?
Merci


