LDAP server dynamic query/results rewriter