David Mulder
8e3f809953
smbd: Move get_deferred_open_message_state to smb2_process.c
...
Signed-off-by: David Mulder <dmulder@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
2022-04-07 17:37:29 +00:00
David Mulder
f1cc153ed9
smbd: Move open_was_deferred to smb2_process.c
...
Signed-off-by: David Mulder <dmulder@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
2022-04-07 17:37:29 +00:00
David Mulder
86452205ab
smbd: Move schedule_deferred_open_message_smb to smb2_process.c
...
Signed-off-by: David Mulder <dmulder@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
2022-04-07 17:37:29 +00:00
David Mulder
4a4be53530
smbd: Move remove_deferred_open_message_smb to smb2_process.c
...
Signed-off-by: David Mulder <dmulder@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
2022-04-07 17:37:29 +00:00
David Mulder
7e55512a3b
smbd: Move receive_smb_talloc/smb2_receive_talloc to smb2_process.c
...
Signed-off-by: David Mulder <dmulder@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
2022-04-07 17:37:29 +00:00
David Mulder
b231372245
smbd: Split receive_smb_talloc into smb1_receive_talloc/smb2_receive_talloc
...
Signed-off-by: David Mulder <dmulder@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
2022-04-07 17:37:29 +00:00
David Mulder
cd111f7269
smbd: Move read_packet_remainder to smb2_process.c
...
Signed-off-by: David Mulder <dmulder@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
2022-04-07 17:37:29 +00:00
David Mulder
e287f7c27b
smbd: Move srv_set_message to smb2_process.c
...
Signed-off-by: David Mulder <dmulder@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
2022-04-07 17:37:29 +00:00
David Mulder
08aa1619c6
smbd: Move srv_send_smb/smb2_srv_send to smb2_process.c
...
Signed-off-by: David Mulder <dmulder@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
2022-04-07 17:37:29 +00:00
David Mulder
8914b9ca8e
smbd: Split srv_send_smb into smb1_srv_send/smb2_srv_send
...
Signed-off-by: David Mulder <dmulder@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
2022-04-07 17:37:29 +00:00
David Mulder
e8c36c25a4
smbd: Split process_smb() into process_smb1() and process_smb2()
...
Signed-off-by: David Mulder <dmulder@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
2022-04-07 17:37:29 +00:00
David Mulder
7439d7eb7d
smbd: Move signing.c -> smb1_signing.c
...
Signed-off-by: David Mulder <dmulder@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
2022-04-07 17:37:29 +00:00
David Mulder
3e38df7d20
smbd: Disable call to smb1_srv_init_signing without smb1
...
Signed-off-by: David Mulder <dmulder@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
2022-04-07 17:37:29 +00:00
David Mulder
7893b3cb92
smbd: Move srv_init_signing to smb2_signing.c
...
Signed-off-by: David Mulder <dmulder@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
2022-04-07 17:37:29 +00:00
David Mulder
047df61561
smbd: Move smb2_srv_init_signing to smb2_signing.c
...
Signed-off-by: David Mulder <dmulder@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
2022-04-07 17:37:29 +00:00
David Mulder
cafa8260ad
smbd: Move service.c -> smb2_service.c
...
Signed-off-by: David Mulder <dmulder@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
2022-04-07 17:37:29 +00:00
David Mulder
0ad4a38a47
smbd: Move make_connection to smb1_service.c
...
Signed-off-by: David Mulder <dmulder@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
2022-04-07 17:37:29 +00:00
David Mulder
b431ec8da0
smbd: Disable call to smb1_srv_is_signing_active without smb1
...
Signed-off-by: David Mulder <dmulder@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
2022-04-07 17:37:29 +00:00
David Mulder
3daa70d7a7
smbd: Move reply.c -> smb1_reply.c
...
Signed-off-by: David Mulder <dmulder@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
2022-04-07 17:37:29 +00:00
David Mulder
0be7643b06
smbd: Move smbd_do_unlocking to smb2_reply.c
...
Signed-off-by: David Mulder <dmulder@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
2022-04-07 17:37:29 +00:00
David Mulder
a85436ac48
smbd: Move get_lock_offset to smb2_reply.c
...
Signed-off-by: David Mulder <dmulder@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
2022-04-07 17:37:29 +00:00
David Mulder
fdf5727c1e
smbd: Move copy_file to smb2_reply.c
...
Signed-off-by: David Mulder <dmulder@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
2022-04-07 17:37:29 +00:00
David Mulder
160849a822
smbd: Move rename_internals to smb2_reply.c
...
Signed-off-by: David Mulder <dmulder@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
2022-04-07 17:37:29 +00:00
David Mulder
4140d1790a
smbd: Move rename_internals_fsp to smb2_reply.c
...
Signed-off-by: David Mulder <dmulder@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
2022-04-07 17:37:29 +00:00
David Mulder
a8985a8ad8
smbd: Move sendfile_short_send to smb2_reply.c
...
Signed-off-by: David Mulder <dmulder@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
2022-04-07 17:37:29 +00:00
David Mulder
01ee69a958
smbd: Move fake_sendfile to smb2_reply.c
...
Signed-off-by: David Mulder <dmulder@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
2022-04-07 17:37:29 +00:00
David Mulder
56ac1efc70
smbd: Move unlink_internals to smb2_reply.c
...
Signed-off-by: David Mulder <dmulder@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
2022-04-07 17:37:29 +00:00
David Mulder
95d9606827
smbd: Move reply_special to smb2_reply.c
...
Signed-off-by: David Mulder <dmulder@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
2022-04-07 17:37:29 +00:00
David Mulder
f0396b9af9
smbd: Move check_fsp_ntquota_handle to smb2_reply.c
...
Signed-off-by: David Mulder <dmulder@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
2022-04-07 17:37:29 +00:00
David Mulder
347c7af9e9
smbd: move check_fsp to smb2_reply.c
...
Signed-off-by: David Mulder <dmulder@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
2022-04-07 17:37:29 +00:00
David Mulder
0d21c676ae
smbd: Move check_fsp_open to smb2_reply.c
...
Signed-off-by: David Mulder <dmulder@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
2022-04-07 17:37:29 +00:00
David Mulder
a8e1f65cba
smbd: Move srvstr_pull_req_talloc to smb2_reply.c
...
Signed-off-by: David Mulder <dmulder@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
2022-04-07 17:37:29 +00:00
David Mulder
0e3a46fc0b
smbd: Move srvstr_get_path* to smb2_reply.c
...
Signed-off-by: David Mulder <dmulder@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
2022-04-07 17:37:29 +00:00
David Mulder
08fa5527cd
smbd: Move check_path_syntax* to smb2_reply.c
...
Signed-off-by: David Mulder <dmulder@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
2022-04-07 17:37:29 +00:00
David Mulder
2069d235f7
smbd: Move pipes.c -> smb2_pipes.c
...
Signed-off-by: David Mulder <dmulder@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
2022-04-07 17:37:29 +00:00
David Mulder
0a68f9d47c
smbd: Move reply_pipe_read_and_X to smb1_pipes.c
...
Signed-off-by: David Mulder <dmulder@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
2022-04-07 17:37:29 +00:00
David Mulder
3d3713860f
smbd: Move reply_pipe_write_and_X to smb1_pipes.c
...
Signed-off-by: David Mulder <dmulder@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
2022-04-07 17:37:29 +00:00
David Mulder
c350372110
smbd: Move reply_open_pipe_and_X to smb1_pipes.c
...
Signed-off-by: David Mulder <dmulder@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
2022-04-07 17:37:29 +00:00
David Mulder
4f0a8e5b21
smbd: Move oplock.c -> smb2_oplock.c
...
Signed-off-by: David Mulder <dmulder@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
2022-04-07 17:37:29 +00:00
David Mulder
1e0b0402f8
smbd: Disable smb1 oplock calls when smb1 is disabled
...
Signed-off-by: David Mulder <dmulder@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
2022-04-07 17:37:29 +00:00
David Mulder
bed19efa1c
smbd: Move send_break_message_smb1 to smb1_oplock.c
...
Signed-off-by: David Mulder <dmulder@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
2022-04-07 17:37:29 +00:00
David Mulder
bb34663958
smbd: Move new_break_message_smb1 to smb1_oplock.c
...
Signed-off-by: David Mulder <dmulder@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
2022-04-07 17:37:29 +00:00
David Mulder
feb6c59378
smbd: Move nttrans.c -> smb1_nttrans.c
...
nttrans.c now contians only smb1 code
Signed-off-by: David Mulder <dmulder@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
2022-04-07 17:37:29 +00:00
David Mulder
a5292f0b1b
smbd: Move smbd_do_query_getinfo_quota to smb2_nttrans.c
...
Signed-off-by: David Mulder <dmulder@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
2022-04-07 17:37:29 +00:00
David Mulder
0ed7f06e99
smbd: Move smbd_do_query_security_desc to smb2_nttrans.c
...
Signed-off-by: David Mulder <dmulder@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
2022-04-07 17:37:29 +00:00
David Mulder
17e04761cb
smbd: Move copy_internals to smb2_nttrans.c
...
Signed-off-by: David Mulder <dmulder@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
2022-04-07 17:37:29 +00:00
David Mulder
7e88a86a15
smbd: Move set_sd_blob to smb2_nttrans.c
...
Signed-off-by: David Mulder <dmulder@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
2022-04-07 17:37:29 +00:00
David Mulder
2448874345
smbd: Move set_sd to smb2_nttrans.c
...
Signed-off-by: David Mulder <dmulder@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
2022-04-07 17:37:29 +00:00
David Mulder
1139ad7b8b
smbd: Move negprot.c -> smb1_negprot.c
...
negprot.c only contains smb1 code.
Signed-off-by: David Mulder <dmulder@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
2022-04-07 17:37:29 +00:00
David Mulder
dd633d561b
smbd: negprot_spnego allow disabling smb1 spnego set
...
Signed-off-by: David Mulder <dmulder@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
2022-04-07 17:37:29 +00:00