Thanks. I've just committed a fix to -devel and OPENLDAP_REL_ENG_1_2. Please test the below patch (against 1.2.2). http://www.openldap.org/devel/cvsweb.cgi/servers/slapd/back-ldbm/index.c.diff?r1=1.5.2.5.2.6&r2=1.5.2.5.2.7 Note: Changes are generally available on cvs.openldap.org (and CVSweb) within 30 minutes of being committed.