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

slapadd problems with 2.1.16


I updated from openldap 2.1.12 to 2.1.16 and now when I try to create a
database with slapadd I get the following error:

hilbert:/etc/openldap/ldiff # which slapadd
hilbert:/etc/openldap/ldiff # ls -l /usr/local/sbin/slapadd
lrwxrwxrwx   1 root     root          37 Mar 25 13:33
/usr/local/sbin/slapadd -> ../encap/openldap-2.1.16/sbin/slapadd
hilbert:/etc/openldap/ldiff # slapadd -l entries.ldif
slapadd: dn="dc=math,dc=gatech,dc=edu" (line=8): (16) value of naming
attribute 'dc' is not present in entry
hilbert:/etc/openldap/ldiff #

My entries.ldiff file is:
hilbert:/etc/openldap/ldiff # cat entries.ldif
# School of Mathematics Ldap Entry
dn: dc=math,dc=gatech,dc=edu
objectClass: dcObject
objectClass: organization
dc: math.gatech
o: School of Mathematics - Georgia Institute of Technology
description: School of Mathematics - Georgia Tech LDAP Database

# Administrative user for SoM Ldap database
dn: cn=Manager,dc=math,dc=gatech,dc=edu
objectClass: organizationalRole
cn: Manager
description: SuperUser for Ldap Services

But if I use slapadd from 2.1.12 then:
hilbert:/etc/openldap/ldiff #
/usr/local/encap/openldap-2.1.12/sbin/slapadd -l entries.ldif
hilbert:/etc/openldap/ldiff #

no errors..........

The database created with slapadd from 2.1.16 does not have any
information while the one created with slapadd 2.1.12 has all the entries.

Any ideas?

Diego Remolina