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

Re: database not configured to hold

At 03:18 PM 10/9/00 -0700, Hugh Caley wrote:
>database        ldbm
>suffix          "dc=company, dc=com"
>database        ldbm
>suffix          "ou=contacts"
>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?

As the message implies, the selected database is not configured
to hold "ou=contacts".  By default, slapadd selects the first
database.  To have it select the appropriate one, use
"-b ou=contacts" or "-n 2".  See slapadd(8) for details.