Probleme avec le demarrage de LDAP

Fermé
driftman123 Messages postés 15 Date d'inscription vendredi 23 mars 2012 Statut Membre Dernière intervention 31 mai 2014 - 20 janv. 2014 à 18:15
driftman123 Messages postés 15 Date d'inscription vendredi 23 mars 2012 Statut Membre Dernière intervention 31 mai 2014 - 21 janv. 2014 à 10:47
Bonjour,
voilà je suis u débutant en openldap j'ai installé openldap et ensuite configué ldap.conf et slapd.conf mais il est temps de le démarrer il m'affiche un message
#service ldap start
Redirecting to /bin/systemctl restart ldap.service
Failed to issue method call: Unit ldap.serice failed to loas: No such file ori directory

==> le fichier ldap n'est dans /etc/init.d
Aidez moi SVP c'est urgent et merci d'avance


A voir également:

2 réponses

ffff14 Messages postés 108 Date d'inscription lundi 20 janvier 2014 Statut Membre Dernière intervention 30 janvier 2014 6
20 janv. 2014 à 20:23
Met ton fichier de conf. Il y a des erreurs
0
driftman123 Messages postés 15 Date d'inscription vendredi 23 mars 2012 Statut Membre Dernière intervention 31 mai 2014
21 janv. 2014 à 10:47
Voila LDAP.CONF =
# LDAP Defaults
# See ldap.conf(5) for details
# This file should be world readable but not world writable. BASE dc=exemple,dc=com,dc=au HOST lenovo.exemple.com.au
#URI ldap://ldap.example.com ldap://ldap-master.example.com:666
#SIZELIMIT 12
#TIMELIMIT 15
#DEREF never TLS_CACERTDIR /etc/openldap/certs
# Turning this off breaks GSSAPI used with krb5 when rdns = false SASL_NOCANON on ~

SLAPD.CONF =
include /etc/openldap/schema/core.schema
include /etc/openldap/schema/cosine.schema
include /etc/openldap/schema/inetorgperson.schema pidfile /var/run/openldap/slapd.pid argsfile /var/run/openldap/slapd.args
database bdb
suffix "dc=exemple,dc=com,dc=au"
rootdn "cn=Manager,dc=exemple,dc=com,dc=au" rootpw secret
directory /var/lib/ldap ~
0