Deprecate the 'socket address' parameter and remove special handling?

Jeremy Allison jra at samba.org
Tue Jul 24 11:44:03 MDT 2012


On Mon, Jul 23, 2012 at 07:07:27PM +1000, Andrew Bartlett wrote:
> I've been looking over our parameters, as I try to merge the loadparm
> systems.
> 
> I started by proposing removing the special behaviour that allows
> 'socket address = ' to mean 'socket address = 0.0.0.0' (attached) in the
> bug that created the current behaviour:
> https://bugzilla.samba.org/show_bug.cgi?id=5944
> 
> However, I've been thinking about the broader context, and I'm a bit
> lost as to what this parameter is for exactly.  It seems to be a very
> old parameter from the earliest days of Samba. 
> 
> Specifically, it seems to be duplicated by 'interfaces = 1.2.3.5' and
> 'bind interfaces only = yes'.  The code in nmbd.c says:  'The parameter
> 'socket address' is now deprecated.' but the manpage fails to mention
> this.
> 
> There is no rush to remove this parameter, but I would like to remove it
> in 4.1, so we have only one way to configure the interfaces we bind to. 
> 
> (Or we could remove it for 4.0 if that were the view of the list).

+1 on removal for me. I think it's been superceeded.


More information about the samba-technical mailing list