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

Re: How to initialize cn=schema,cn=config with the system schema

--On Thursday, July 10, 2008 11:22 PM -0400 Mathias Gug <mathiaz@ubuntu.com> wrote:

On Wed, Jul 09, 2008 at 07:50:04PM -0400, Mathias Gug wrote:

On Tue, Jul 08, 2008 at 09:01:19PM -0700, Howard Chu wrote: > Mathias Gug wrote: I've attache the three ldif files that I'm using to create a new configuration. Here are the steps that I'm following to initialize a new setup:

# mkdir /etc/ldap/slapd.d/
# slapadd -F /etc/ldap/slapd.d/ -n 0 -l slapd.d.init.ldif
# slapadd -F /etc/ldap/slapd.d/ -n 0 -l slapd.d.load_hdb_module.ldif
# slapadd -F /etc/ldap/slapd.d/ -n 0 -l slapd.d.new-db.ldif
slapadd: could not add entry dn="olcDatabase=hdb,cn=config" (line=1):
autocreation of "olcDatabase={-1}frontend" failed

After some more debugging, I've hit a problem with creating a database entry with slapadd when defining a new database is not done at the same time as creating the initial slapd.d structure.

Does this occur with the latest RE24 CVS?



Quanah Gibson-Mount
Principal Software Engineer
Zimbra, Inc
Zimbra ::  the leader in open source messaging and collaboration