Minor improvment for ldap_runner()