diff options
Diffstat (limited to 'source3/nsswitch/wbinfo.c')
-rw-r--r-- | source3/nsswitch/wbinfo.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/source3/nsswitch/wbinfo.c b/source3/nsswitch/wbinfo.c index cff2b8b69a..1a51a5b610 100644 --- a/source3/nsswitch/wbinfo.c +++ b/source3/nsswitch/wbinfo.c @@ -101,10 +101,11 @@ static BOOL wbinfo_check_secret(void) if (result) { - if (response.data.num_entries) { + if (response.data.num_entries == 0) { printf("Secret is good\n"); } else { - printf("Secret is bad\n"); + printf("Secret is bad\n0x%08x\n", + response.data.num_entries); } return True; @@ -447,8 +448,8 @@ int main(int argc, char **argv) return 1; } break; - - /* Invalid option */ + + /* Invalid option */ default: usage(); |