make use of pyldap.filter.criteria_to_filter