diff options
Diffstat (limited to 'source3/nsswitch/winbindd_glue.c')
-rw-r--r-- | source3/nsswitch/winbindd_glue.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/nsswitch/winbindd_glue.c b/source3/nsswitch/winbindd_glue.c index 6f55e564f4..ac48ae1013 100644 --- a/source3/nsswitch/winbindd_glue.c +++ b/source3/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); } /**************************************************************************** |