s3:smbd multichannel: always allow multichannel to the ip of the queried connection
authorStefan Metzmacher <metze@samba.org>
Fri, 29 Dec 2023 12:09:32 +0000 (13:09 +0100)
committerStefan Metzmacher <metze@samba.org>
Tue, 9 Jan 2024 10:21:34 +0000 (10:21 +0000)
commit8a3707e3ed96df43c8f825527deb7d27fe0c6be8
treecfdd598a16c4c2130294dae822d3de6997eb3b81
parentf94d2ed13e6aa54e7e4e4cc292c565de1711a2a9
s3:smbd multichannel: always allow multichannel to the ip of the queried connection

We can announce the ip of the current connection even if it's
a moveable cluster address... as the client is already connected to it.

This change means in a typical ctdb cluster, where we only have public
addresses, the client can at least have more than one multichannel'ed
connection to the public ip.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Günther Deschner <gd@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
source3/smbd/smb2_ioctl_network_fs.c