Fixed issue with ldap not executing callback

Signed-off-by: Malte Sussdorff <malte.sussdorff@cognovis.com>