Odpoveď na: Pripojenie k SMB://

Domov Diskusné Fóra Pomoc: software Pripojenie k SMB:// Odpoveď na: Pripojenie k SMB://

#340922
Smulo55
Účastník (Participant)

vieš mi poradit ked ti vypíšem smb.conf zo satelitu ? :

[global]
workgroup = workgroup
server string = HD_PVR
security = share
socket options = SO_RCVBUF=65536 SO_SNDBUF=65536
# socket options = TCP_NODELAY IPTOS_LOWDELAY SO_KEEPALIVE SO_RCVBUF=65536 SO_SNDBUF=65536
# socket options = TCP_NODELAY IPTOS_LOWDELAY SO_KEEPALIVE SO_RCVBUF=8192 SO_SNDBUF=8192
# socket options = TCP_NODELAY SO_KEEPALIVE SO_RCVBUF=8192 SO_SNDBUF=8192
large readwrite = yes
# max connections = 10
# max smbd processes = 10
# max stat cache size = 1024
read raw = yes
write raw = yes
wide links = no
# oplocks = no
# level2oplocks = no
log file = /tmp/log.%m
lock directory = /tmp
pid directory = /tmp
max log size = 50
smb passwd file = /tmp/smbpasswd
dns proxy = no
encrypt passwords = no
guest ok = yes
guest account = root
load printers = no
code page directory = /etc/samba/codepages
client code = 437
character set = iso8859-9
coding system = utf-8
case sensitive = yes
preserve case = yes
short preserve case = yes

[homes]
comment = Home Directories
browseable = no
writeable = yes

[STORAGE]
; comment = STORAGE
path=/STORAGE
; only guest = yes
force user = root
writeable = yes
create mask = 0765
browseable = yes
guest ok = yes

[ROOT]
; comment = STORAGE
path=/
; only guest = yes
force user = root
writeable = yes
create mask = 0765
browseable = yes

a potom tam je ešte subor smb_open.conf

[global]
workgroup = workgroup
server string = %h
security = share
socket options = SO_RCVBUF=65536 SO_SNDBUF=65536
# socket options = TCP_NODELAY IPTOS_LOWDELAY SO_KEEPALIVE SO_RCVBUF=65536 SO_SNDBUF=65536
# socket options = TCP_NODELAY IPTOS_LOWDELAY SO_KEEPALIVE SO_RCVBUF=8192 SO_SNDBUF=8192
# socket options = TCP_NODELAY SO_KEEPALIVE SO_RCVBUF=8192 SO_SNDBUF=8192
large readwrite = yes
# max connections = 10
# max smbd processes = 10
# max stat cache size = 1024
read raw = yes
write raw = yes
wide links = no
# oplocks = no
# level2oplocks = no
log file = /tmp/log.%m
lock directory = /tmp
pid directory = /tmp
max log size = 50
smb passwd file = /tmp/smbpasswd
dns proxy = no
encrypt passwords = no
guest ok = yes
guest account = root
load printers = no
netbios name = %h
code page directory = /etc/samba/codepages
client code = 866
character set = iso8859-5
coding system = utf-8
case sensitive = yes
preserve case = yes
short preserve case = yes

[homes]
comment = Home Directories
browseable = no
writeable = yes

[STORAGE]
; comment = STORAGE
path=/STORAGE
; only guest = yes
force user = root
writeable = yes
create mask = 0765
browseable = yes
guest ok = yes

[ROOT]
; comment = STORAGE
path=/
; only guest = yes
force user = root
writeable = yes
create mask = 0765
browseable = yes