From 283f8a7fb5089a7126f07e26315fd06ab59997d8 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Thu, 16 Jun 2011 18:40:04 +0200 Subject: Revert "s3-winbind: Fix paranoia checks in winbindd_samr.c." This reverts commit 207a84d725b905c2b119d2ef0f4f4d4eb391140d. This is the wrong fix for the problem, see bug #8215. metze --- source3/winbindd/winbindd_samr.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source3/winbindd') diff --git a/source3/winbindd/winbindd_samr.c b/source3/winbindd/winbindd_samr.c index 48ce92d5e7..3b9377f729 100644 --- a/source3/winbindd/winbindd_samr.c +++ b/source3/winbindd/winbindd_samr.c @@ -762,8 +762,8 @@ static NTSTATUS sam_rids_to_names(struct winbindd_domain *domain, ZERO_STRUCT(lsa_policy); /* Paranoia check */ - if (!sid_check_is_in_builtin(domain_sid) && - !sid_check_is_in_our_domain(domain_sid) && + if (!sid_check_is_builtin(domain_sid) && + !sid_check_is_domain(domain_sid) && !sid_check_is_unix_users(domain_sid) && !sid_check_is_unix_groups(domain_sid) && !sid_check_is_in_wellknown_domain(domain_sid)) { -- cgit