diff options
author | Volker Lendecke <vl@samba.org> | 2010-11-27 18:56:41 +0100 |
---|---|---|
committer | Volker Lendecke <vlendec@samba.org> | 2010-11-27 19:11:03 +0100 |
commit | 3b71f5df0328ef2c49a76504b6b79a4e726234f0 (patch) | |
tree | 330a427e34d9e96cf10db6d73fcba7e5dad3fac4 /source3 | |
parent | 0b877824cbc48c20ae64873a50e0522da5a2fe4f (diff) | |
download | samba-3b71f5df0328ef2c49a76504b6b79a4e726234f0.tar.gz samba-3b71f5df0328ef2c49a76504b6b79a4e726234f0.tar.bz2 samba-3b71f5df0328ef2c49a76504b6b79a4e726234f0.zip |
s3: Return the correct result from winbindd_dual_auth_passdb
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, |