diff options
Diffstat (limited to 'source4')
-rw-r--r-- | source4/smb_server/smb_server.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source4/smb_server/smb_server.c b/source4/smb_server/smb_server.c index 6206a03b21..2811693800 100644 --- a/source4/smb_server/smb_server.c +++ b/source4/smb_server/smb_server.c @@ -145,6 +145,7 @@ static void smbsrv_accept(struct stream_connection *conn) packet_set_event_context(smb_conn->packet, conn->event.ctx); packet_set_fde(smb_conn->packet, conn->event.fde); packet_set_serialise(smb_conn->packet); + packet_set_initial_read(smb_conn->packet, 4); smb_conn->lp_ctx = conn->lp_ctx; smb_conn->connection = conn; |