LDAP / AD integration Group

Hello,

I was facing problem with group filtering. In LDAP I created a gorup cloud and added one user in it. In Nextcloud I have chosen this group like so: (&(|(objectclass=posixgroup))(|(cn=cloud)))
But any other user still able to log in for some reason. Am I missing something?

Cheers,
Yerbol

Resolved. Left the Group tab empty. But filtering is placed in Login Attributes like so: (&(&(objectclass=inetorgperson)(memberof=cn=cloud,cn=groups,cn=accounts,dc=mydomain,dc=com))(uid=%uid))