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

Andrew Bartlett abartlet at samba.org
Mon Jul 23 03:07:27 MDT 2012


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).

What do you think?

Thanks,

Andrew Bartlett
-- 
Andrew Bartlett                                http://samba.org/~abartlet/
Authentication Developer, Samba Team           http://samba.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-docs-Mark-socket-address-as-deprecated.patch
Type: text/x-patch
Size: 1369 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20120723/61be5ce8/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-param-Make-socket_address-common-Revert-611ef42053eb.patch
Type: text/x-patch
Size: 3649 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20120723/61be5ce8/attachment-0001.bin>


More information about the samba-technical mailing list