[Pkg-samba-maint] Bug#476104: samba: Should not set "socket options" by default

Steve Langasek vorlon at debian.org
Thu Apr 17 01:24:18 UTC 2008


On Mon, Apr 14, 2008 at 04:16:24PM +0200, Christian Perrier wrote:
> Package: samba
> Version: 3.2.0~pre2-1
> Severity: normal

> This comes from a remark by John Terpstra at SambaXP: we are setting 
> "socket options = TCP_NODELAY" for ages.

> This is indeed the default value and adding such option is useless and
> confusing to users: the simpler the configuration file, the better.

> Now that we have ucf support, we should drop this in the default smb.conf
> file.

> Steve, any comment about that move towards a simpler default smb.conf file?

Before we start making broad changes to the smb.conf, I think we should come
up with a policy of what options we want to keep by default, and how they
should be represented - i.e., each class of "example options that shadow the
built-in defaults", "example options that override the built-in defaults",
and "options that override the built-in defaults" should each be represented
consistently, and if at all possible they should be represented distinctly.

I think there are cases where we want to show users in smb.conf what the
default value is, even if we don't uncomment it.  I don't know that 'socket
options' is one of these that we want to keep, but we should take into
consideration the comment about overriding the send and receive buffer sizes
when deciding whether to drop this option.

BTW, I think it's premature to drop the 'guest account = nobody' option for
the same reason, pending discussion of the above.

-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
Ubuntu Developer                                    http://www.debian.org/
slangasek at ubuntu.com                                     vorlon at debian.org





More information about the Pkg-samba-maint mailing list