[Samba] Samba 4 fileserver perfomance
Rowland Penny
rowlandpenny at googlemail.com
Sun May 3 02:43:40 MDT 2015
On 03/05/15 07:31, Александр Свиридов wrote:
> Here my samba conf file:
>
> [global]
>
> workgroup = MYGROUP
> server string = Samba Server Version %v
>
> interfaces = lo eth0 x.x.x.x/x #my ip and mask
> hosts allow = 127. 10.0.
>
> log file = /var/log/samba/log.%m
>
> max log size = 50
>
> # ----------------------- Standalone Server Options ------------------------
>
> security = user
> passdb backend = tdbsam
>
>
> # ----------------------- Domain Members Options ------------------------
>
> # ----------------------- Domain Controller Options ------------------------
>
> # ----------------------- Browser Control Options ----------------------------
>
> #----------------------------- Name Resolution -------------------------------
>
>
> # --------------------------- Printing Options -----------------------------
>
>
> load printers = yes
> cups options = raw
>
> # --------------------------- File System Options ---------------------------
>
> #============================ Share Definitions ==============================
>
>
> [Share]
> comment = Data
> browseable = yes
> writable = yes
> path = /somepath
> public = no
> guest ok = no
> create mask = 0660
> directory mask = 0770
> force group = Family
Try these two lines like this:
interfaces = eth0
hosts allow = 10.0.
or like this:
interfaces = x.x.x.x/x #my ip and mask
hosts allow = 10.0.
or better still:
hosts allow = 10.0.
If you don't understand why, try reading 'man smb.conf'
Rowland
More information about the samba
mailing list