Modify

Opened 6 years ago

Closed 6 years ago

Last modified 4 years ago

#10969 closed defect (fixed)

Synchronize config and init between samba3 and samba36

Reported by: anonymous Owned by: developers
Priority: normal Milestone: Barrier Breaker 14.07
Component: packages Version: Trunk
Keywords: Cc:

Description

Please, synchronize options in /etc/config/samba between samba3 and samba36 package.

Attachments (0)

Change History (5)

comment:1 Changed 6 years ago by Todd Richmond <todd_richmond@…>

There are several issues with the current 3.0 smb.conf.template file

1) ISO8859 instead of UTF8 which mangles foreign chars in files

2) share security instead of more configurable user security

3) a few performance tunables

Here is my latest file that works for both 3.0 and 3.6. Disable max protocol = SMB2 for 3.0

[global]

netbios name = |NAME|
display charset = |CHARSET|
interfaces = |INTERFACES|
server string = |DESCRIPTION|
unix charset = |CHARSET|
workgroup = |WORKGROUP|
browseable = yes
deadtime = 15
domain master = yes
encrypt passwords = true
enable core files = no
guest account = nobody
guest ok = yes
invalid users = root
local master = yes
load printers = no
map to guest = Bad User
max protocol = SMB2
min receivefile size = 16384
null passwords = yes
obey pam restrictions = yes
os level = 20
passdb backend = smbpasswd
#passdb backend = tdbsam
preferred master = yes
printable = no
security = user
smb encrypt = disabled
smb passwd file = /etc/samba/smbpasswd
socket options = TCP_NODELAY IPTOS_LOWDELAY SO_RCVBUF=65535 SO_SNDBUF=65535
syslog = 2
writeable = yes
use sendfile = yes

comment:2 Changed 6 years ago by Todd Richmond <todd_richmond@…>

[global]
        netbios name = |NAME|
        display charset = |CHARSET|
        interfaces = |INTERFACES|
        server string = |DESCRIPTION|
        unix charset = |CHARSET|
        workgroup = |WORKGROUP|
        browseable = yes
        deadtime = 15
        domain master = yes
        encrypt passwords = true
        enable core files = no
        guest account = nobody
        guest ok = yes
        invalid users = root
        local master = yes
        load printers = no
        map to guest = Bad User
        max protocol = SMB2
        min receivefile size = 16384
        null passwords = yes
        obey pam restrictions = yes
        os level = 20
        passdb backend = smbpasswd
        #passdb backend = tdbsam
        preferred master = yes
        printable = no
        security = user
        smb encrypt = disabled
        smb passwd file = /etc/samba/smbpasswd
        socket options = TCP_NODELAY IPTOS_LOWDELAY SO_RCVBUF=65535 SO_SNDBUF=65535
        syslog = 2
        writeable = yes
        use sendfile = yes

comment:3 Changed 6 years ago by alphasparc@…

Please do not include the following lines
SO_RCVBUF=65535 SO_SNDBUF=65535
It is a known issue in Samba that modifying the buffer clobbers the performance.
I tested without including the buffer, throughput is slightly higher.
Include SO_KEEPALIVE so Samba will return memory after using it to buffer the file transfer when idle.
Set reset on zero vc = no it is not needed for most users.

comment:4 Changed 6 years ago by nbd

  • Resolution set to fixed
  • Status changed from new to closed

seems to have been fixed in r31150

comment:5 Changed 4 years ago by jow

  • Milestone changed from Attitude Adjustment 12.09 to Barrier Breaker 14.07

Milestone Attitude Adjustment 12.09 deleted

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.