j'essaye vainement de faire tourner un serveur openldap
/etc/init.d/ldap start
Starting ldap-server                                                
done


sylvie:/var/lib/ldap # ldapadd -x -D
"cn=Manager,dc=rurintel,dc=fr,dc=eu,dc=org" -W -f rurintel.ldif
Enter LDAP Password:
ldap_bind: Invalid credentials


-- 
Salutations Philippe JAOUEN             
Ferme du Ponctey :               http://worldserver2.oleane.com/ponctey
cidre fermier du Pays de La Risle, Pommeau de Normandie et Calvados AOC
# $OpenLDAP: pkg/ldap/servers/slapd/slapd.conf,v 1.8.8.4 2000/08/26 17:06:18 kurt Exp $
#
# See slapd.conf(5) for details on configuration options.
# This file should NOT be world readable.
#
include         /etc/openldap/schema/core.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         /var/run/slapd.pid
argsfile        /var/run/slapd.args

# Load dynamic backend modules:
# modulepath    /usr/lib/openldap/openldap
# moduleload    back_ldap.la
# moduleload    back_ldbm.la
# moduleload    back_passwd.la
# moduleload    back_shell.la

#######################################################################
# ldbm database definitions
#######################################################################

database        ldbm
suffix          "o=rurintel"
suffix          "dc=rurintel,dc=fr,dc=eu,dc=org"
#suffix         "o=My Organization Name, c=US"
rootdn          "cn=Manager,o=rurintel"
#rootdn         "cn=Manager, o=My Organization Name, c=US"
# 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 accessable by the slapd/tools. Mode 700 recommended.
directory       /var/lib/ldap
# Indices to maintain
#index  objectClass     eq
index   cn,sn,st        pres,eq,sub
access to * by * write
dn: dc=rurintel,dc=fr,dc=eu,dc=org
objectclass: dcObject 
objectclass: organization 
o: rurintel 
dc: rurintel

dn: cn=Manager,dc=rurintel,dc=fr,dc=eu,dc=org
objectclass: organizationalRole 
cn: Manager

Répondre à