I am trying to configure LDAP Integration while also trying to restrict who can login to users who are members of a couple different AD groups. I have set the following under advanced options for LDAP Integration:
Query: (&(sAMAccount=$login$)(|(memberOf=[DN for group1])(memberOf=[DN for group2])))
However, this continues to allow any user.
In TeamCity I am using this exact login filter to control which users are permitted to login. Am I understanding the purpose of the "Query" option correct or no?