Cook 2433: handle anonymous binding ldap servers

This makes this work with more LDAP setups