From 8d0e2415309ee15fbf509d44caf3e1df5b900620 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Thu, 10 Mar 2011 16:07:36 +0100 Subject: s3: Fix paranoia check in sam_rids_to_names --- source3/winbindd/winbindd_samr.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'source3/winbindd') diff --git a/source3/winbindd/winbindd_samr.c b/source3/winbindd/winbindd_samr.c index 783d9f9f31..3a4724632f 100644 --- a/source3/winbindd/winbindd_samr.c +++ b/source3/winbindd/winbindd_samr.c @@ -772,11 +772,9 @@ static NTSTATUS sam_rids_to_names(struct winbindd_domain *domain, ZERO_STRUCT(lsa_policy); /* Paranoia check */ - if (!sid_check_is_in_builtin(sid) && - !sid_check_is_in_our_domain(sid) && - !sid_check_is_in_unix_users(sid) && + if (!sid_check_is_builtin(sid) && + !sid_check_is_domain(sid) && !sid_check_is_unix_users(sid) && - !sid_check_is_in_unix_groups(sid) && !sid_check_is_unix_groups(sid) && !sid_check_is_in_wellknown_domain(sid)) { DEBUG(0, ("sam_rids_to_names: possible deadlock - trying to " -- cgit