[PATCH] Deprecate 'bind interfaces only' parameter

James Peach jpeach at samba.org
Sun Dec 11 00:15:58 GMT 2005


On Thu, 2005-12-08 at 22:35 -0800, Jeremy Allison wrote:
> On Fri, Dec 09, 2005 at 03:30:16PM +1100, Tim Potter wrote:
> > Is there really any need for two parameters to manage which interfaces
> > Samba is to operate on?  The attached patch deprecates the 'bind
> > interfaces only' parameter which doesn't seem to do very much at all
> > really.
> > 
> > The only problem I can see is that setting 'bind interfaces only = no'
> > and having an interfaces line will be broken, but then it's broken now
> > anyway.  It will just be broken differently.
> 
> It's the nmbd use that is key - the use in nmbd_packets.c. Don't 
> remove it yet please - this needs some serious study as to what
> it's doing in that code (I remember adding it for a very specific
> reason to do with multiple interfaces and broadcast packet detection
> whilst at Whistle in 1997 but I can't quite remember now :-). I'll
> need to go over that code very carefully first.

So you are saying that nmbd needs the "interfaces = foo" and "bind
interfaces only = no" behaviour? Exactly what are the semantics of this
combination supposed to be ...

-- 
James Peach | jpeach at samba.org



More information about the samba-technical mailing list