[Pkg-openldap-devel] Infinite recursion in syncprov overlay when using heimdal hdb.schema

Jeffrey Alan Rodriguez Jeff at JeffRodriguez.com
Wed May 21 19:39:57 UTC 2008


syncprov seems to be causing a segfault due to infinite recursion when
importing kerberos entries, I posted this bug to the openldap list and
upon their suggestion I tried 2.3.41. The bug is not present in 2.3.41

slapd.conf, LDIFs, heimdal kerberos schema, and logs included. These
are live files I was used to generate the segfault. It's also
reproducible with the conf and ldif files customized to the
environment. Commenting out syncprov and related lines in the conf
eliminates the segfault.

uname -a:
Linux ds1.phx2 2.6.18-6-xen-amd64 #1 SMP Sun Feb 10 18:02:52 UTC 2008
x86_64 GNU/Linux

Steps to reproduce:

# Stop slapd and replace configs
/etc/init.d/slapd stop && \
cp conf/slapd.conf /etc/ldap/ && \
cp conf/hdb.schema /etc/ldap/schema/

# Remove old DB and load new one
rm -f /var/lib/ldap/* && \
slapadd -l ldif/schema.ldif && \
chown -R openldap:openldap /var/lib/ldap/

# Run slapd and import new entries
/usr/sbin/slapd -g openldap -u openldap -d 1 -h "ldap:/// ldapi:///" &

ldapadd -H ldapi:///var/run/ldapi -x -D cn=admin,o=example -w
CHANGE_THIS_PASSWORD -f ldif/bugged.ldif

# slapd will segfault

Configs, logs, and ldifs included in file available at:

http://www.onlinefilefolder.com/index.php?action=getshare&type=0&user_num=38760&share_id=212810&hash=463bf98417b506182fcb73449f56e0ec

-- 
Jeffrey Alan Rodriguez
Jeff at JeffRodriguez.com

11232 N. 50th Lane
Glendale, AZ 85304

(480) 688-6660



More information about the Pkg-openldap-devel mailing list