summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2005-09-16 12:50:24 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:03:39 -0500
commitfdcc645973dfc8cd5c3eba55ca5d676fef348c99 (patch)
treebc2e8b2e841752a75f74629d0d02017e6cad83b0
parent3c3fd2fab37f0d343a16d1b240443570439ce09a (diff)
downloadsamba-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)
-rw-r--r--source3/nsswitch/winbindd_ads.c3
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;