using multiple LDAP queries for authorization