ОС была выбрана NAS4FREE, всё установилось, запустилось. Но замерло на предоставлении доступа и конфигурировании Samba. То пускает в примонтированную шару но нет прав записи и чтения. То вообще не дает попасть на сервер.
После бессонной ночи и с явными признаками мигрени, решено было вытащить конфиги самбы из WD My Cloud и после правки подсунуть в NAS4FREE. Но опять ничего не вышло (предположение разные версии самбы, хотя конфиги то одни). Все мануалы по настройке на английском знания которого отсутствуют. А всё что попадалось на русском из мануалов, это дать на все папки 777. Помогите сделать такие же настройки конфига Samba как у WD My Cloud.
smb.conf
Code: Select all
[global]
workgroup = MSHOME
realm = WORKGROUP
netbios name = WDMyCloud
server string = WD My Cloud
include = /etc/samba/smb-global.conf
include = /etc/samba/smb-global_veto.conf
include = /etc/samba/overall_shareCode: Select all
## BEGIN ## sharename = Public #
[Public]
path = /shares/Public
comment = Public Share
public = yes
browseable = yes
writeable = yes
guest ok = yes
map read only = no
## END ##
## BEGIN ## sharename = Musyk #
[Musyk]
path = /shares/Musyk
comment = Musyk
invalid users =
valid users = user3,user2,user1
read list = user3,user2
write list = user1
writeable = yes
map read only = no
## END ##
## BEGIN ## sharename = Filmy #
[Filmy]
path = /shares/Filmy
comment = Filmy
invalid users =
valid users = user3,user2,user1
read list = user3,user2
write list = user1
writeable = yes
map read only = no
## END ##
## BEGIN ## sharename = Progr #
[Progr]
path = /shares/Progr
comment = undefined
invalid users =
valid users = user1
read list =
write list = user1
writeable = yes
map read only = no
## END ##
## BEGIN ## sharename = Games #
[Games]
path = /shares/Games
comment = Games
invalid users =
valid users = user1
read list =
write list = user1
writeable = yes
map read only = no
## END ##
## BEGIN ## sharename = Clipy #
[Clipy]
path = /shares/Clipy
comment = Clipy
invalid users =
valid users = user3,user1
read list = user3
write list = user1
writeable = yes
map read only = no
## END ##
## BEGIN ## sharename = txt #
[txt]
path = /shares/txt
comment = txt
invalid users =
valid users = user1
read list =
write list = user1
writeable = yes
map read only = no
## END ##
## BEGIN ## sharename = Drivers #
[Drivers]
path = /shares/Drivers
comment = Drivers
invalid users =
valid users = user1
read list =
write list = user1
writeable = yes
map read only = no
## END ##
## BEGIN ## sharename = user2 #
[user2]
path = /shares/user2
comment = user2
invalid users =
valid users = user2,user1
read list =
write list = user2,user1
writeable = yes
map read only = no
## END ##
## BEGIN ## sharename = user3 #
[user3]
path = /shares/user3
comment = user3
invalid users =
valid users = user3,user1
read list =
write list = user3,user1
writeable = yes
map read only = no
## END ## Code: Select all
[global]
load printers = no
printable = no
log file = /var/log/samba/log.smbd
max log size = 50
deadtime = 30
enable core files = no
security = user
encrypt passwords = yes
passdb backend = smbpasswd:/etc/samba/smbpasswd
create mask = 0775
force create mode = 0775
directory mask = 0775
force directory mode = 0775
local master = yes
domain master = no
preferred master = auto
os level = 5
use sendfile = yes
dns proxy = no
idmap uid = 10000-65000
idmap gid = 10000-65000
admin users =
null passwords = yes
map to guest = bad user
guest account = nobody
force group = share
unix extensions = no
acl check permissions = false
max protocol = SMB2
browseable = yes
syslog = 1
socket options = TCP_NODELAY IPTOS_LOWDELAY SO_RCVBUF=2048000 SO_SNDBUF=2048000
min receivefile size = 16384
smb encrypt = disabled
writeable = yes
dos filemode = yes
delete veto files = true
smb-global_veto.conf
Code: Select all
veto files = /.nflc_data/.wdmc/.twonky/
