Nextcloud ldap admins and groups problem

The Basics

  • Nextcloud Server version : 33.0.2
  • Operating system and version (Ubuntu 24.04): Ubuntu 24.04.4
  • Web server and version :Apache 2.4.58
  • PHP version : 8.3.6
  • Is this the first time you’ve seen this error? : maybe
  • When did this problem seem to first start? now
  • Installation method (AIO vmware)
  • Are you using Cloudflare, mod_security, or similar? NO
  • Domain Windows Server 2019

Web Browser

Chrome v146

Summary of the issue you are facing:

  • Problem 1:
    2 months ago i use sudo -u www-data php /var/www/nextcloud/occ ldap:promote-group “NEXTcloud-admins” and all users in this ldap group become admins in Nextcloud Web (Server settings and apps menu), And i cant revert this. please help.

  • Problem 2:
    When i open access to folder/file for ldap group in internal shares menu, they dont receive email notification ???
    (when i open access for ldap user , he receive notification well.)

  • Question 3:
    How do I prevent all users from creating folders and files in the their root directory?
    Only allow them in Team Folders they have access to?

please, someone, help with problems…