Deprecate the 'socket address' parameter and remove special handling?
simo
idra at samba.org
Tue Jul 24 11:52:34 MDT 2012
On Tue, 2012-07-24 at 10:44 -0700, Jeremy Allison wrote:
> 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.
I would vote for removing it in 4.0 and not wait till 4.1
Simo.
--
Simo Sorce
Samba Team GPL Compliance Officer <simo at samba.org>
Principal Software Engineer at Red Hat, Inc. <simo at redhat.com>
More information about the samba-technical
mailing list