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

Re: how to create db files





--On May 25, 2007 11:54:30 AM -0700 Craig <craig5@pobox.com> wrote:

Sorry, I had only used ldapadd up till now.

Thanx so much!

BTW, I accidently used an older version of slapadd at first (2.2.13) and
I get the following error:

# slapadd -f /etc/openldap/slapd.conf -l base.ldif
/etc/openldap/schema/core.schema: line 366: AttributeType not found:
"description"
slapadd: bad configuration file!

Does anyone know what changed? I looked at the CHANGES file for 2.3.35
and saw a few changes related to schema handling, but am not sure which
is directly related to the above. (BTW, I am just curious... The add
works just fine when I use slapadd from the 2.3.35 release.)

Again, it all works now. Thanx again!

OpenLDAP 2.2 and OpenLDAP 2.3 use different schemes for storing the data in the BDB database, so db's created with a 2.2 slapadd are not compatible with 2.3.


--Quanah

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