Skip to content

Commit

Permalink
SYSDB: don't add group members if ' ignore_group_members == true'
Browse files Browse the repository at this point in the history
Resolves: #7793
  • Loading branch information
alexey-tikhonov committed Feb 14, 2025
1 parent c36c320 commit 0503cbc
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/db/sysdb_views.c
Original file line number Diff line number Diff line change
Expand Up @@ -1551,6 +1551,10 @@ errno_t sysdb_add_group_member_overrides(struct sss_domain_info *domain,
char *val;
struct sss_domain_info *orig_dom;

if (domain->ignore_group_members) {
return EOK;
}

tmp_ctx = talloc_new(NULL);
if (tmp_ctx == NULL) {
DEBUG(SSSDBG_OP_FAILURE, "talloc_new failed.\n");
Expand Down

0 comments on commit 0503cbc

Please sign in to comment.