diff options
-rw-r--r-- | source3/nsswitch/winbindd_util.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/nsswitch/winbindd_util.c b/source3/nsswitch/winbindd_util.c index b0529be4fb..b649dc4768 100644 --- a/source3/nsswitch/winbindd_util.c +++ b/source3/nsswitch/winbindd_util.c @@ -608,7 +608,7 @@ struct winbindd_domain *find_domain_from_sid_noinit(const DOM_SID *sid) * to make sure that the SIDs we send to the backends are * as specific as possible. */ - if (sid_peek_check_rid(&domain->sid, sid, &discard) == 0) { + if (sid_peek_check_rid(&domain->sid, sid, &discard)) { return domain; } } |