[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Newbee problems
I'm sorry for mailing to the list this early, have only read a little in
the archives.
My problem is thet I try the Quick Start Quide on one of my hosts to
find out if my inital testing of OpenLDAP will work on my OpenBSD hosts.
But I only get as far as stage 10: Add initial entries to your directory
There I get:
ldap_add: No such object
In the end. Have I missed anything important the tests worked, as far as
I where able to tell.
So here are my files and some screen dumps: (tika:ldap# ) are the promt
and divides the commands...
tika:ldap# cat /etc/openldap/slapd.conf
#
# See slapd.conf(5) for details on configuration options.
# This file should NOT be world readable.
#
include /etc/openldap/slapd.at.conf
include /etc/openldap/slapd.oc.conf
schemacheck off
#referral ldap://root.openldap.org/
pidfile /var/run/slapd.pid
argsfile /var/run/slapd.args
#######################################################################
# ldbm database definitions
#######################################################################
database ldbm
suffix "dc=arnholm, dc=nu"
#suffix "o=My Organization Name, c=US"
rootdn "cn=Manager, dc=arnholm, dc=nu"
#rootdn "cn=Manager, o=My Organization Name, c=US"
# cleartext passwords, especially for the rootdn, should
# be avoid. See slapd.conf(5) for details.
rootpw testing
# database directory
# this directory MUST exist prior to running slapd AND
# should only be accessable by the slapd/tools Mode 700 recommended.
tika:ldap# cat test.ldif
dn: dc=arnholm, dc=nu
dc: arnholm
o: Arnholm Testing
objectclass: organization
objectclass: dcObject
dn: cn=Manager, dc=arnholm, dc=nu
cn: Manager
sn: Manager
objectclass: person
tika:ldap# ldapadd -v -D "cn=Manager,dc=arnholm,dc=nu" -w testing
<test.ldif
add dc:
arnholm
add o:
Arnholm Testing
add objectclass:
organization
dcObject
adding new entry dc=arnholm, dc=nu
ldap_add: No such object
tika:ldap#
--
o_ Anders Arnholm, Open Software, Technical Programmer
o/ /\ anders@arnholm.nu Phone : +46-703-160969
/|_, \\ http://www.arnholm.nu/~balp/ http://www.opensoftware.se
/
`