summaryrefslogtreecommitdiffstats
path: root/source/nsswitch/winbindd_glue.c
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2001-05-09 05:06:35 +0000
committerTim Potter <tpot@samba.org>2001-05-09 05:06:35 +0000
commit014859b62b31ceff5b5ca3d1699792e362c77a85 (patch)
treee6323fe08e7effaf4c06ad80a5ae378e60abdf6a /source/nsswitch/winbindd_glue.c
parentfc44cec0de68c92001c4313b4f0ee9f69ba6b9b5 (diff)
downloadsamba-014859b62b31ceff5b5ca3d1699792e362c77a85.tar.gz
samba-014859b62b31ceff5b5ca3d1699792e362c77a85.tar.xz
samba-014859b62b31ceff5b5ca3d1699792e362c77a85.zip
Fixes from nsswitch testsuite. Lots of stuff works much better now. (-:
Diffstat (limited to 'source/nsswitch/winbindd_glue.c')
-rw-r--r--source/nsswitch/winbindd_glue.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/nsswitch/winbindd_glue.c b/source/nsswitch/winbindd_glue.c
index 6f55e564f41..ac48ae10134 100644
--- a/source/nsswitch/winbindd_glue.c
+++ b/source/nsswitch/winbindd_glue.c
@@ -306,7 +306,7 @@ BOOL wb_get_samr_query_userinfo(CLI_POLICY_HND *pol, uint32 info_level,
done:
if (got_user_pol) cli_samr_close(pol->cli, pol->mem_ctx, &user_pol);
- return (result != NT_STATUS_NOPROBLEMO);
+ return (result == NT_STATUS_NOPROBLEMO);
}
/****************************************************************************