From 43beb92ed28dd4b609f2bda83a0f645f5e2d517c Mon Sep 17 00:00:00 2001 From: ibizaman Date: Tue, 23 Jan 2024 21:51:52 -0800 Subject: [PATCH] do not create unrelated groups when login in to nextcloud --- modules/services/nextcloud-server.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/modules/services/nextcloud-server.nix b/modules/services/nextcloud-server.nix index 7c680a7..a83f371 100644 --- a/modules/services/nextcloud-server.nix +++ b/modules/services/nextcloud-server.nix @@ -796,8 +796,9 @@ in # oidc_login_alt_login_page = "assets/login.php"; oidc_login_tls_verify = true; # If you get your groups from the oidc_login_attributes, you might want to create them if - # they are not already existing, Default is `false`. - oidc_create_groups = true; + # they are not already existing, Default is `false`. This creates groups for all groups + # the user is associated with in LDAP. It's too much. + oidc_create_groups = false; # Enable use of WebDAV via OIDC bearer token. oidc_login_webdav_enabled = true; oidc_login_password_authentication = false;