diff options
author | Michael Mair-Keimberger <mmk@levelnine.at> | 2024-02-17 15:35:22 +0100 |
---|---|---|
committer | David Seifert <soap@gentoo.org> | 2024-02-17 15:35:22 +0100 |
commit | f7f234e342d98245719e0a2dd652ee8d27518818 (patch) | |
tree | 3576fafaf12f42a1858a71bedfdaec0c053be9e4 /net-fs | |
parent | games-strategy/freeciv: remove unused patch (diff) | |
download | gentoo-f7f234e342d98245719e0a2dd652ee8d27518818.tar.gz gentoo-f7f234e342d98245719e0a2dd652ee8d27518818.tar.bz2 gentoo-f7f234e342d98245719e0a2dd652ee8d27518818.zip |
net-fs/samba: remove unused patch
Signed-off-by: Michael Mair-Keimberger <mmk@levelnine.at>
Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'net-fs')
-rw-r--r-- | net-fs/samba/files/samba-4.18.4-bug-15418-windows-update-secure-channel.patch | 56 |
1 files changed, 0 insertions, 56 deletions
diff --git a/net-fs/samba/files/samba-4.18.4-bug-15418-windows-update-secure-channel.patch b/net-fs/samba/files/samba-4.18.4-bug-15418-windows-update-secure-channel.patch deleted file mode 100644 index 1d0d9777fe19..000000000000 --- a/net-fs/samba/files/samba-4.18.4-bug-15418-windows-update-secure-channel.patch +++ /dev/null @@ -1,56 +0,0 @@ -https://bugs.gentoo.org/910306 -https://bugzilla.samba.org/show_bug.cgi?id=15418 - - source3/rpc_server/netlogon/srv_netlog_nt.c | 9 +++++---- - source4/rpc_server/netlogon/dcerpc_netlogon.c | 8 ++++---- - 2 files changed, 9 insertions(+), 8 deletions(-) - ---- a/source3/rpc_server/netlogon/srv_netlog_nt.c -+++ b/source3/rpc_server/netlogon/srv_netlog_nt.c -@@ -2284,6 +2284,11 @@ NTSTATUS _netr_LogonGetCapabilities(struct pipes_struct *p, - struct netlogon_creds_CredentialState *creds; - NTSTATUS status; - -+ if (r->in.query_level != 1) { -+ p->fault_state = DCERPC_NCA_S_FAULT_INVALID_TAG; -+ return NT_STATUS_NOT_SUPPORTED; -+ } -+ - become_root(); - status = dcesrv_netr_creds_server_step_check(p->dce_call, - p->mem_ctx, -@@ -2296,10 +2301,6 @@ NTSTATUS _netr_LogonGetCapabilities(struct pipes_struct *p, - return status; - } - -- if (r->in.query_level != 1) { -- return NT_STATUS_NOT_SUPPORTED; -- } -- - r->out.capabilities->server_capabilities = creds->negotiate_flags; - - return NT_STATUS_OK; ---- a/source4/rpc_server/netlogon/dcerpc_netlogon.c -+++ b/source4/rpc_server/netlogon/dcerpc_netlogon.c -@@ -2364,6 +2364,10 @@ static NTSTATUS dcesrv_netr_LogonGetCapabilities(struct dcesrv_call_state *dce_c - struct netlogon_creds_CredentialState *creds; - NTSTATUS status; - -+ if (r->in.query_level != 1) { -+ DCESRV_FAULT(DCERPC_NCA_S_FAULT_INVALID_TAG); -+ } -+ - status = dcesrv_netr_creds_server_step_check(dce_call, - mem_ctx, - r->in.computer_name, -@@ -2375,10 +2379,6 @@ static NTSTATUS dcesrv_netr_LogonGetCapabilities(struct dcesrv_call_state *dce_c - } - NT_STATUS_NOT_OK_RETURN(status); - -- if (r->in.query_level != 1) { -- return NT_STATUS_NOT_SUPPORTED; -- } -- - r->out.capabilities->server_capabilities = creds->negotiate_flags; - - return NT_STATUS_OK; |