git.samba.org
/
metze
/
samba
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cedbf46
)
FIX8 auth3 with 4 legs results in DCERPC_NCA_S_PROTO_ERROR
author
Stefan Metzmacher
<metze@samba.org>
Thu, 12 Nov 2020 15:40:31 +0000
(16:40 +0100)
committer
Stefan Metzmacher
<metze@samba.org>
Tue, 23 Jan 2024 10:14:10 +0000
(11:14 +0100)
librpc/rpc/dcesrv_auth.c
patch
|
blob
|
history
diff --git
a/librpc/rpc/dcesrv_auth.c
b/librpc/rpc/dcesrv_auth.c
index a09783c4fb047ceb5e0f342c789ca42e35402bc9..d7deff1f65dc29b6fdf66e14ab62b29aeee95e18 100644
(file)
--- a/
librpc/rpc/dcesrv_auth.c
+++ b/
librpc/rpc/dcesrv_auth.c
@@
-392,7
+392,8
@@
NTSTATUS dcesrv_auth_complete(struct dcesrv_call_state *call, NTSTATUS status)
if (call->out_auth_info->credentials.length != 0) {
DEBUG(4, ("GENSEC produced output token (len=%zu) at %s\n",
call->out_auth_info->credentials.length, pdu));
- return NT_STATUS_RPC_SEC_PKG_ERROR;
+ call->fault_code = DCERPC_NCA_S_PROTO_ERROR;
+ return NT_STATUS_RPC_PROTOCOL_ERROR;
}
return NT_STATUS_OK;