SMB fixes: IPC$ ShareMode=Public, capabilities=0, FILE_ID_BOTH_DIRECTORY_INFORMATION Reserved2 removed, NextEntryOffset=0 for last entry, debug logging
This commit is contained in:
7
vendor/smb-server/src/dispatch.rs
vendored
7
vendor/smb-server/src/dispatch.rs
vendored
@@ -439,6 +439,13 @@ async fn dispatch_one(
|
||||
}
|
||||
|
||||
let resp = handlers::dispatch_command(server, conn, &req_hdr, body_bytes).await;
|
||||
|
||||
debug!(
|
||||
command = ?req_hdr.command,
|
||||
status = resp.status,
|
||||
body_len = resp.body.len(),
|
||||
"SMB2 handler response"
|
||||
);
|
||||
|
||||
// If the handler asked for a preauth snapshot (3.1.1), take it now.
|
||||
if let Some(sid) = resp.take_preauth_snapshot_for_session {
|
||||
|
||||
Reference in New Issue
Block a user