From c43505b621725c9a754f0ee98318d451b093f2ed Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Thu, 12 Jul 2012 15:55:21 +0200 Subject: s3: rename sid_check_is_domain() to sid_check_is_our_sam() This does not check whether the given sid is the domain sid, but whether it is the sid of the local sam, which is different for a domain member server. --- source3/winbindd/winbindd_samr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3/winbindd/winbindd_samr.c') diff --git a/source3/winbindd/winbindd_samr.c b/source3/winbindd/winbindd_samr.c index 5994a354b5..10074d142e 100644 --- a/source3/winbindd/winbindd_samr.c +++ b/source3/winbindd/winbindd_samr.c @@ -761,7 +761,7 @@ static NTSTATUS sam_rids_to_names(struct winbindd_domain *domain, /* Paranoia check */ if (!sid_check_is_builtin(domain_sid) && - !sid_check_is_domain(domain_sid) && + !sid_check_is_our_sam(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