Insert following query in editor:
1 |
(&(objectClass=organizationalPerson)(|(memberof:1.2.840.113556.1.4.1941:=CN=NextCloudUsers,OU=Groups,DC=domain,DC=com)(memberof:1.2.840.113556.1.4.1941:=CN=NextCloudAdmins,OU=Groups,DC=domain,DC=com))) |
Test it:
1 |
root@nc:/home/user# ldapsearch -x -h 10.40.aa.bbb -D "user@domain.com" -W -b "dc=domain,dc=com" -s sub "(&(objectClass=organizationalPerson)(|(memberof:1.2.840.113556.1.4.1941:=CN=NextCloudUsers,OU=Groups,DC=domain,DC=com)(memberof:1.2.840.113556.1.4.1941:=CN=NextCloudAdmins,OU=Groups,DC=domain,DC=com)))" cn mail sn |