diff options
-rw-r--r-- | source3/nsswitch/winbindd_ads.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/source3/nsswitch/winbindd_ads.c b/source3/nsswitch/winbindd_ads.c index ede1765273..30064603d1 100644 --- a/source3/nsswitch/winbindd_ads.c +++ b/source3/nsswitch/winbindd_ads.c @@ -585,7 +585,12 @@ static NTSTATUS lookup_usergroups_alt(struct winbindd_domain *domain, DEBUG(1,("No sid for this group ?!?\n")); continue; } - + + /* ignore Builtin groups from ADS - Guenther */ + if (sid_check_is_in_builtin(&group_sid)) { + continue; + } + add_sid_to_array(mem_ctx, &group_sid, user_sids, &num_groups); } |