Add the possibility to specify a custom LDAP filter

Possible fix for #21