Take a look at ITS#23. I suspect it's the same problem as your suggested fix is same. http://www.OpenLDAP.org/devel/cvsweb.cgi/servers/slapd/back-ldbm/search.c.diff?r1=1.7.2.9&r2=1.7.2.10 Kurt