The text a2c507dacd5a, as Debian 8 (Jessie) shipped it.
LDAP result entry parsing and counting routines
ldap_next_entry(3) on Linux now