I traced how the return values are used. So here is a patch: http://folk.uio.no/hbf/OpenLDAP/perl-return.txt I added return types (i.e. int) for perl_back_compare() and perl_back_delete() while I was at it. -- Hallvard