[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
database not configured to hold
Migrating from v2 to v3. I'm attempting to load my records (created with
ldbmcat -n), and hanging on the above error.
My slapd.conf is thus (modified for security):
#######################################################################
# ldbm database definitions
#######################################################################
database ldbm
suffix "dc=company, dc=com"
rootdn "cn=root, dc=company, dc=com"
rootpw {crypt}xxxxxxxxxxxxxxxxxxxxxxxxxxxxx
lastmod on
directory /usr/local/etc/openldap/db/staff
index objectClass eq
database ldbm
suffix "ou=contacts"
rootdn "cn=root, dc=company, dc=com"
rootpw {crypt}xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
lastmod on
directory /usr/local/etc/openldap/db/contacts
index objectClass eq
The first entry is for a different database, but I include it just in case.
My entry (name: contacts.ldif) is thus:
dn: ou=contacts
objectclass: top
objectclass: organizationalUnit
description: Contacts Database
creatorsname: cn=root, dc=company,dc=com
modifiersname: cn=root, dc=company,dc=com
createtimestamp: 20000721164045Z
modifytimestamp: 20000721164045Z
The command I'm using is slapadd -l contacts.ldif
What am I missing here?
--
Hugh Caley, Lumeria, Inc.
Lead Systems Engineer
hugh@lumeria.com
begin:vcard
n:Caley;Hugh
tel;pager:510-326-0706
tel;cell:510-326-0706
tel;fax:510-647-0943
tel;home:510-524-1672
tel;work:510-647-1800
x-mozilla-html:FALSE
url:www.lumeria.com
org:Lumeria Inc.;Systems
adr;quoted-printable:;;Apt. 2314=0D=0A535 Pierce St.;Berkeley;CA;94706;USA
adr:;;2850 7th St., Suite 200;Berkeley;CA;94710;USA
version:2.1
email;internet:hugh@lumeria.com
title:Lead Systems Engineer
note:I like bats!
x-mozilla-cpt:;3
fn:Hugh Caley
end:vcard