diff options
author | Günther Deschner <gd@samba.org> | 2005-09-16 12:50:24 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 11:03:39 -0500 |
commit | fdcc645973dfc8cd5c3eba55ca5d676fef348c99 (patch) | |
tree | bc2e8b2e841752a75f74629d0d02017e6cad83b0 /source3/nsswitch | |
parent | 3c3fd2fab37f0d343a16d1b240443570439ce09a (diff) | |
download | samba-fdcc645973dfc8cd5c3eba55ca5d676fef348c99.tar.gz samba-fdcc645973dfc8cd5c3eba55ca5d676fef348c99.tar.bz2 samba-fdcc645973dfc8cd5c3eba55ca5d676fef348c99.zip |
r10261: Don't bother to peek rids in builtin-sids.
Guenther
(This used to be commit d75bfce8cc9122ddcad149704e467c784f0a0872)
Diffstat (limited to 'source3/nsswitch')
-rw-r--r-- | source3/nsswitch/winbindd_ads.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source3/nsswitch/winbindd_ads.c b/source3/nsswitch/winbindd_ads.c index a7849e59b1..7851fdabc3 100644 --- a/source3/nsswitch/winbindd_ads.c +++ b/source3/nsswitch/winbindd_ads.c @@ -282,6 +282,9 @@ static NTSTATUS enum_dom_groups(struct winbindd_domain *domain, continue; } + if (sid_check_is_in_builtin(&sid)) + continue; + if (!sid_peek_check_rid(&domain->sid, &sid, &rid)) { DEBUG(1,("No rid for %s !?\n", name)); continue; |