diff options
author | Gerald Carter <jerry@samba.org> | 2007-03-21 17:43:49 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 12:18:48 -0500 |
commit | 3f85405be0465edf06feef96657d2b5d287b064e (patch) | |
tree | 47ff077e1ba3c0078a0804c042fabe5b933fa3e3 /source3/nsswitch | |
parent | d8bb69515b49808b791585d69a50c5237614b1ad (diff) | |
download | samba-3f85405be0465edf06feef96657d2b5d287b064e.tar.gz samba-3f85405be0465edf06feef96657d2b5d287b064e.tar.bz2 samba-3f85405be0465edf06feef96657d2b5d287b064e.zip |
r21913: fix one bug in build 717: correctly check the return from sid_peek_check_rid() when trying to find a matching domain
(This used to be commit c63bc300376e5be10585366013449a359b0778c1)
Diffstat (limited to 'source3/nsswitch')
-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; } } |