mirror of
https://github.com/samba-team/samba.git
synced 2025-08-05 12:22:11 +03:00
smbd:process: treat initialized table in smbXsrv_connection_init_tables
Pair-Programmed-With: Stefan Metzmacher <metze@samba.org> Signed-off-by: Michael Adam <obnox@samba.org> Signed-off-by: Stefan Metzmacher <metze@samba.org>
This commit is contained in:
@ -3563,6 +3563,10 @@ NTSTATUS smbXsrv_connection_init_tables(struct smbXsrv_connection *conn,
|
||||
|
||||
conn->protocol = protocol;
|
||||
|
||||
if (conn->client->session_table != NULL) {
|
||||
return NT_STATUS_OK;
|
||||
}
|
||||
|
||||
if (protocol >= PROTOCOL_SMB2_02) {
|
||||
status = smb2srv_session_table_init(conn);
|
||||
if (!NT_STATUS_IS_OK(status)) {
|
||||
|
Reference in New Issue
Block a user