LDAP groups excluding

Hello.

What about excluding any groups from LDAP from Nextcloud logging?

I know how to inlcude users to login group:
(&(|(objectclass=person))(|(|(memberof=CN=nextcloud_test,OU=Groups,OU=Accounts,DC=xxx,DC=com,DC=pl)(primaryGroupID=54353))))

And how can I exlcude them?

@blizzz could you help me with this? :slight_smile:

Did you try using a ‘not’ in the filter query?
https://confluence.atlassian.com/display/DEV/How+to+write+LDAP+search+filters

1 Like

Hi Therion7777!

I am having the same problem. I created Test group in LDAP and added a few users. In Nextcloud Groups tab I filtered Test group in Only from these groups field. However, users not in Test still have access to Nextcloud. This is a problem, because any user can login at the moment. Anything obvious that I am missing?
Also I noticed that LDAP filtering in Nextcloud seems to be not working. If modified slightly, it changes back to original state. Hmm

Cheers

1 Like