diff options
Diffstat (limited to 'source3/nsswitch/winbindd_util.c')
-rw-r--r-- | source3/nsswitch/winbindd_util.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/source3/nsswitch/winbindd_util.c b/source3/nsswitch/winbindd_util.c index 686caf19f3..68560c040e 100644 --- a/source3/nsswitch/winbindd_util.c +++ b/source3/nsswitch/winbindd_util.c @@ -91,13 +91,7 @@ static BOOL is_internal_domain(const DOM_SID *sid) if (sid == NULL) return False; - if (sid_compare_domain(sid, get_global_sam_sid()) == 0) - return True; - - if (sid_compare_domain(sid, &global_sid_Builtin) == 0) - return True; - - return False; + return (sid_check_is_domain(sid) || sid_check_is_builtin(sid)); } |