git.samba.org
/
jra
/
samba
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3e2f355
)
Don't accidentally return success when sending a broken NET_SAMLOGON
author
Tim Potter
<tpot@samba.org>
Wed, 31 Oct 2001 04:42:16 +0000
(
04:42
+0000)
committer
Tim Potter
<tpot@samba.org>
Wed, 31 Oct 2001 04:42:16 +0000
(
04:42
+0000)
request. This exposes a domain authentication bug with win2k where a rpc
fault is returned but not propagated up as an error.
(This used to be commit
27cd7ac85779bbc1e9488ee06e87b0c743c5b29c
)
source3/rpc_client/cli_netlogon.c
patch
|
blob
|
history
diff --git
a/source3/rpc_client/cli_netlogon.c
b/source3/rpc_client/cli_netlogon.c
index 50f68e19f0a6a7d928eaafd4c99fd8f936026dfd..c18d2ae23d591f3af3cffd14990c3ff6033a95b9 100644
(file)
--- a/
source3/rpc_client/cli_netlogon.c
+++ b/
source3/rpc_client/cli_netlogon.c
@@
-378,6
+378,7
@@
static NTSTATUS cli_net_sam_logon_internal(struct cli_state *cli, NET_ID_INFO_CT
/* send the data on \PIPE\ */
if (!rpc_api_pipe_req(cli, NET_SAMLOGON, &buf, &rbuf)) {
DEBUG(0,("cli_net_sam_logon_internal: Error rpc_api_pipe_req failed.\n"));
+ retval = NT_STATUS_UNSUCCESSFUL;
goto out;
}