diff options
Diffstat (limited to 'source3')
-rw-r--r-- | source3/winbindd/winbindd_pam.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/source3/winbindd/winbindd_pam.c b/source3/winbindd/winbindd_pam.c index 0053b7fba5..d52d4e2703 100644 --- a/source3/winbindd/winbindd_pam.c +++ b/source3/winbindd/winbindd_pam.c @@ -1118,8 +1118,9 @@ static NTSTATUS winbindd_dual_auth_passdb(TALLOC_CTX *mem_ctx, status = check_sam_security_info3(challenge, talloc_tos(), user_info, pinfo3); free_user_info(&user_info); - DEBUG(10, ("Authenticated user %s\\%s successfully\n", domain, user)); - return NT_STATUS_OK; + DEBUG(10, ("Authenticaticating user %s\\%s returned %s\n", domain, + user, nt_errstr(status))); + return status; } typedef NTSTATUS (*netlogon_fn_t)(struct rpc_pipe_client *cli, |