[Date Prev][Date Next] [Chronological] [Thread] [Top]

First steps



Hi ....

I'm quite new to this LDAP thing and I'm reading all possible faq's ... but
I still have the following problem:

system is a linux with kernel 2.2.12, openldap 1.2.7
I compiled it --without-threads

It starts and the ldap.conf is like this:

include         /usr/local/etc/openldap/slapd.at.conf
include         /usr/local/etc/openldap/slapd.oc.conf
schemacheck     off
#referral       ldap://ldap.itd.umich.edu

pidfile         /usr/local/var/slapd.pid
argsfile        /usr/local/var/slapd.args

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

database        ldbm
suffix          "dc=everyware, dc=ch"
directory       /usr/local/etc/openldap/ldbm
rootdn          "cn=root, dc=everyware, dc=ch"
rootpw          /5*secret*


When I try the following (as mentioned in the Faq-o-matic at openldap.org)

ldapadd -D "cn=root, dc=everyware, dc=ch" -W </tmp/1.ldif

/tmp/1.ldif is like this:

dn: dc=everyware, dc=ch
  dc: everyware
  o: EveryWare Ltd
  objectclass: organization
  objectclass: dcObject

dn: cn=root, dc=everyware, dc=ch
  cn: root
  sn: root
  objectclass: person

I get an error:
ldap_bind: Invalid credentials

the faq says that the password is invalid .. but its the password I have in
ldap.conf ...

I'am a little bit confused .. can somebody help me ....




--
mit freundlichen Grüssen
Marc Eggenberger
EveryWare AG
Bellerivestr. 7
8008 Zürich
tel   : +41 1 3855900
fax   : +41 1 3855910
eMail : me@everyware.ch
Web   : http://www.everyware.ch