git.samba.org
/
kai
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d77238f
)
smbd:process: treat initialized table in smbXsrv_connection_init_tables
author
Michael Adam
<obnox@samba.org>
Mon, 25 Jan 2016 18:02:04 +0000
(19:02 +0100)
committer
Michael Adam
<obnox@samba.org>
Tue, 26 Jan 2016 14:58:11 +0000
(15:58 +0100)
Pair-Programmed-With: Stefan Metzmacher <metze@samba.org>
Signed-off-by: Michael Adam <obnox@samba.org>
Signed-off-by: Stefan Metzmacher <metze@samba.org>
source3/smbd/process.c
patch
|
blob
|
history
diff --git
a/source3/smbd/process.c
b/source3/smbd/process.c
index e5c52bebdd0edfe43549fbd6c0302cdfc0a97458..13f06c53e32eaaed2812b4c8d81e2e2d106b24dc 100644
(file)
--- a/
source3/smbd/process.c
+++ b/
source3/smbd/process.c
@@
-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)) {