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

Problems and Difficulties

Okay, I've reinstalled everything, rewrote my ldif test file, gone
through my slapd.conf file with a fine tooth comb, and tried ldif2ldbm
rather than ldapadd (I know, but I was desperate).  I am still getting
Invalid Credentials or, going through ldif2ldbm, just not finding
anything in the directory.  The system is RedHat Linux 6.1 w/ security
and other updates (kernel modern).

My slapd.conf file looks like this:

include    /usr/local/etc/openldap/slapd.at.conf
include    /usr/local/etc/openldap/slapd.oc.conf
schemacheck off

pidfile        /var/run/slapd.pid
argsfile     /var/run/slapd.args

database ldbm
suffix        "o=penguin206.tcs.tulane.edu"
rootdn       "cn=Manager, o=penguin206.tcs.tulane.edu"
rootpw      secret
directory   /usr/tmp

and my test file is almost an exact copy of the proposed test file,
looking like this:

dn: o=penguin206.tcs.tulane.edu
o: penguin206.tcs.tulane.edu
objectclass: organization
objectclass: dcObject

dn: cn=Manager, o=penguin206.tcs.tulane.edu
cn: Manager
sn: Manager
objectclass: person

A few modifications from before, but nothing terribly major and this time
no missing quotation marks.
The sequence of events is as follows:

slapd -f slapd.conf
ldapadd -D "cn=Manager, o=penguin206.tcs.tulane.edu" -w
secret < test.ldif

Thanks for any help that anyone can provide.


David Hartwell Clements
Information System Specialist
Tulane University