]> git.ipfire.org Git - thirdparty/samba.git/commit
dcesrv_core: disconnect after a fault with non AUTH_LEVEL_CONNECT bind
authorStefan Metzmacher <metze@samba.org>
Mon, 23 Sep 2024 14:09:39 +0000 (16:09 +0200)
committerAndreas Schneider <asn@cryptomilk.org>
Thu, 10 Oct 2024 14:01:04 +0000 (14:01 +0000)
commit31c2f35bba003daee39756e83def0f3d45c19c6b
treebc7636e0725d7bd0f07efe2c75da107dd613dfbe
parent93bd5ba609f93ce8298f12f2a7b0ad333e0f48bf
dcesrv_core: disconnect after a fault with non AUTH_LEVEL_CONNECT bind

Without an auth context using DCERPC_AUTH_LEVEL_PACKET or higher
the fault to reject requests with an invalid auth level
should trigger a disconnect after sending the fault to
the client.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14356

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
librpc/rpc/dcesrv_core.c
librpc/rpc/dcesrv_core.h
selftest/expectedfail.d/samba4.rpc.backupkey [new file with mode: 0644]
selftest/knownfail.d/samba4.rpc.backupkey [deleted file]
selftest/knownfail.d/test_lsa_multi_auth_connect [deleted file]