Braker86
20.05.2009, 21:16
Поставил самба.
smb.conf:
[global]
workgroup = WORKGROUP
server string = Netbook server
hosts deny = ALL
hosts allow = 192.168.0.1 192.168.0.2 192.168.1.1 192.168.1.2 127.0.0.1
announce version = 5.0
socket options = TCP_NODELAY IPTOS_LOWDELAY SO_KEEPALIVE SO_RCVBUF=8192 SO_SNDBUF=8192
passdb backend = tdbsam
security = user
null passwords = true
; Файл с адиасами имен юзеров
username map = /etc/samba/smbusers
name resolve order = hosts wins bcast
wins support = yes
printing = CUPS
printcap name = CUPS
log file = /var/log/samba/log.%m
syslog = 0
syslog only = no
unix charset = utf8
dos charset = cp1251
display charset = cp1251
;название под которым будет доступна директория
[Storage]
; Путь к расшареной директории
path = /mnt/storage
; Разрешен ли просмотр
browseable = yes
read only = no
guest ok = no
create mask = 0644
directory mask = 0755
При проверке: smbclient //192.168.0.2/Storage
Выходит ошибка: tree conect failed: nt_status_bad_network_name
Помогите!:0117:
smb.conf:
[global]
workgroup = WORKGROUP
server string = Netbook server
hosts deny = ALL
hosts allow = 192.168.0.1 192.168.0.2 192.168.1.1 192.168.1.2 127.0.0.1
announce version = 5.0
socket options = TCP_NODELAY IPTOS_LOWDELAY SO_KEEPALIVE SO_RCVBUF=8192 SO_SNDBUF=8192
passdb backend = tdbsam
security = user
null passwords = true
; Файл с адиасами имен юзеров
username map = /etc/samba/smbusers
name resolve order = hosts wins bcast
wins support = yes
printing = CUPS
printcap name = CUPS
log file = /var/log/samba/log.%m
syslog = 0
syslog only = no
unix charset = utf8
dos charset = cp1251
display charset = cp1251
;название под которым будет доступна директория
[Storage]
; Путь к расшареной директории
path = /mnt/storage
; Разрешен ли просмотр
browseable = yes
read only = no
guest ok = no
create mask = 0644
directory mask = 0755
При проверке: smbclient //192.168.0.2/Storage
Выходит ошибка: tree conect failed: nt_status_bad_network_name
Помогите!:0117: