[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
(ITS#5225) unexpected results in slapadd
Full_Name: Allan E. Johannesen
Version: 2.4.6
OS: RHEL4 i686
URL: http://users.wpi.edu/~aej
Submission from: (NULL) (130.215.24.208)
Dependent on load flags (I normally have been using -w -q), I get various
results. Assertion failure, segfault, or success.
utility5:/tools/src/openldap/RHEL4-i686/openldap-2.4.6# rm /var/openldap-data/*
utility5:/tools/src/openldap/RHEL4-i686/openldap-2.4.6# ln
/var/openldap-bdb/DB_CONFIG /var/openldap-data/
utility5:/tools/src/openldap/RHEL4-i686/openldap-2.4.6# servers/slapd/slapadd -w
-q -f /usr/local/etc/openldap/slapd.utility5.conf < users.ldapv2.2007.11.08.ldif
slapadd: entry.c:760: entry_encode: Assertion `i == a->a_numvals' failed.
Abort
utility5:/tools/src/openldap/RHEL4-i686/openldap-2.4.6# rm /var/openldap-data/*
utility5:/tools/src/openldap/RHEL4-i686/openldap-2.4.6# ln
/var/openldap-bdb/DB_CONFIG /var/openldap-data/
utility5:/tools/src/openldap/RHEL4-i686/openldap-2.4.6# servers/slapd/slapadd -q
-f /usr/local/etc/openldap/slapd.utility5.conf < users.ldapv2.2007.11.08.ldif
utility5:/tools/src/openldap/RHEL4-i686/openldap-2.4.6# rm /var/openldap-data/*
utility5:/tools/src/openldap/RHEL4-i686/openldap-2.4.6# ln
/var/openldap-bdb/DB_CONFIG /var/openldap-data/
utility5:/tools/src/openldap/RHEL4-i686/openldap-2.4.6# servers/slapd/slapadd -w
-f /usr/local/etc/openldap/slapd.utility5.conf < users.ldapv2.2007.11.08.ldif
Segmentation fault
utility5:/tools/src/openldap/RHEL4-i686/openldap-2.4.6# rm /var/openldap-data/*
utility5:/tools/src/openldap/RHEL4-i686/openldap-2.4.6# ln
/var/openldap-bdb/DB_CONFIG /var/openldap-data/
utility5:/tools/src/openldap/RHEL4-i686/openldap-2.4.6# servers/slapd/slapadd -f
/usr/local/etc/openldap/slapd.utility5.conf < users.ldapv2.2007.11.08.ldif
I've placed DB_CONFIG, users.ldapv2.2007.11.08.ldif, and slapd.utility5.conf in
http://users.wpi.edu/~aej/