summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2016-01-26 08:16:51 +0100
committerStefan Metzmacher <metze@samba.org>2016-03-16 03:16:40 +0100
commit8984b15a3d54544dc32f3c8cbc3d50cb40e0a6c5 (patch)
tree91ceb417f12b98c3b73bf7f3fde53e4e9a6289f2
parent4895c3fb9938c37c4270cb030ba4f09906f4b062 (diff)
downloadsamba-8984b15a3d54544dc32f3c8cbc3d50cb40e0a6c5.tar.gz
smbd: enable multi-channel if 'server multi channel support = yes' in the config
Signed-off-by: Michael Adam <obnox@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org> Autobuild-User(master): Michael Adam <obnox@samba.org> Autobuild-Date(master): Tue Mar 15 20:58:19 CET 2016 on sn-devel-144 (cherry picked from commit e85e4055b940ea3be4e5beb12a62ad448dbbc73d) BUG: https://bugzilla.samba.org/show_bug.cgi?id=11796 Autobuild-User(v4-4-test): Stefan Metzmacher <metze@samba.org> Autobuild-Date(v4-4-test): Wed Mar 16 03:16:40 CET 2016 on sn-devel-144
-rw-r--r--source3/smbd/smbXsrv_client.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/smbd/smbXsrv_client.c b/source3/smbd/smbXsrv_client.c
index d8ba2f7843d..7286b6e0208 100644
--- a/source3/smbd/smbXsrv_client.c
+++ b/source3/smbd/smbXsrv_client.c
@@ -511,6 +511,8 @@ NTSTATUS smbXsrv_client_create(TALLOC_CTX *mem_ctx,
client->ev_ctx = ev_ctx;
client->msg_ctx = msg_ctx;
+ client->server_multi_channel_enabled = lp_server_multi_channel_support();
+
client->table = talloc_move(client, &table);
table = client->table;