[PATCH] smbd: receive IP address changes via our addrchange netlink API
Ralph Wuerthner
ralphw at de.ibm.com
Wed Mar 7 11:23:22 UTC 2018
Hi list,
some time ago I received the attached patch from Ralph Boehme to make
smbd close the SMB session if the local IP address is dropped. We use
this on a Samba/CTDB cluster where CTDB is not managing the IP addresses.
To get this feature into master I was thinking on writing a test case to
automatically test this feature in autobuild. But I'm a little bit lost
on how to write such a test case because it involves adding and removing
a local IP address in order to test this. Do I have to enhance
socket_wrapper to emulate the kernel netlink interface? Or are there any
other ideas?
Any help is appreciated!
Regards
Ralph
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-smbd-receive-IP-address-changes-via-our-addrchange-n.patch
Type: text/x-patch
Size: 5361 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20180307/ff23e4b7/0001-smbd-receive-IP-address-changes-via-our-addrchange-n.bin>
More information about the samba-technical
mailing list