git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0b87782
)
s3: Return the correct result from winbindd_dual_auth_passdb
author
Volker Lendecke
<vl@samba.org>
Sat, 27 Nov 2010 17:56:41 +0000
(18:56 +0100)
committer
Volker Lendecke
<vlendec@samba.org>
Sat, 27 Nov 2010 18:11:03 +0000
(19:11 +0100)
source3/winbindd/winbindd_pam.c
patch
|
blob
|
history
diff --git
a/source3/winbindd/winbindd_pam.c
b/source3/winbindd/winbindd_pam.c
index 0053b7fba5599541cce968370d359743ac46a08f..d52d4e27031791f0b9d3927dd29af0dc05fa5e57 100644
(file)
--- 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,