network namespace support in selftest (was: Re: socket-wrapper fd-passing)

Andrew Bartlett abartlet at
Wed Jun 24 21:26:55 UTC 2020

On Wed, 2020-06-24 at 23:14 +0200, Stefan Metzmacher via samba-
technical wrote:
> Hi Anoop,
> I rebased your fd-passing patches on top of socket_wrapper master.
> See
> Please also notice my commit on top where I added some more hints
> on a better design:

I've not looked into this in any detail at all, and I'm sure you are
aware that with the network namespace mode for selftest we can avoid
socket_wrapper and so base ourselves directly on kernel sockets.  

This of course requires privileges so has other implications, but I
wanted to mention this more broadly in case this helps us get out of a
tight spot here.

This is the work Tim Beale did a year or so ago.

Andrew Bartlett

Andrew Bartlett
Authentication Developer, Samba Team
Samba Development and Support, Catalyst IT - Expert Open Source

More information about the samba-technical mailing list