From 1603c608c9c8c6b42a18dd5545c5d15fc2f0af48 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Sat, 22 Aug 2009 17:10:16 +0200 Subject: [PATCH] s3:winbind: Even on a domain controller, "our" domain is internal It happens to be what we also share out via NETLOGON/SAMR, but winbind has direct access to it via the passdb domain methods --- source3/winbindd/winbindd_util.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/source3/winbindd/winbindd_util.c b/source3/winbindd/winbindd_util.c index 9f853be32a2..5c2ebab8363 100644 --- a/source3/winbindd/winbindd_util.c +++ b/source3/winbindd/winbindd_util.c @@ -76,9 +76,6 @@ static bool is_internal_domain(const DOM_SID *sid) if (sid == NULL) return False; - if ( IS_DC ) - return sid_check_is_builtin(sid); - return (sid_check_is_domain(sid) || sid_check_is_builtin(sid)); } @@ -87,9 +84,6 @@ static bool is_in_internal_domain(const DOM_SID *sid) if (sid == NULL) return False; - if ( IS_DC ) - return sid_check_is_in_builtin(sid); - return (sid_check_is_in_our_domain(sid) || sid_check_is_in_builtin(sid)); } -- 2.11.4.GIT