Есть две папки AFolder и.AFolder, которым я хочу поделиться через сервер Samba. Я не могу заставить его работать.
shivanand@Pattanshetti-home /etc/samba $ cat smb.conf
[global]
server string = Shivanand's Shared Files
workgroup = PATTANSHETTI
netbios name = Pattanshetti-home
security = user
encrypt passwords = yes
guest account = nobody
name resolve order = bcast host
include = /etc/samba/smbshared.conf
smb passwd file = /etc/samba/smbpasswd
local master = yes
domain master = yes
preferred master = yes
domain logons = yes
wins support = yes
shivanand@Pattanshetti-home /etc/samba $ cat smbshared.conf
[AFolder]
comment = Linux File Server Share
path = /media/shivanand/HDD\ Data/DATA/dll/AFolder
browsable = yes
guest ok = yes
read only = yes
available = yes
public = no
writable = no
force user = shivanand
[.AFolder]
comment = Linux File Server Share
path = /media/shivanand/HDD\ Data/DATA/dll/.AFolder
browsable = yes
guest ok = yes
read only = yes
available = yes
public = no
writable = no
force user = shivanand
shivanand@Pattanshetti-home /etc/samba $ smbclient //192.168.1.101/AFolder
Enter shivanand's password:
Domain=[PATTANSHETTI] OS=[Unix] Server=[Samba 4.1.6-Ubuntu]
tree connect failed: NT_STATUS_BAD_NETWORK_NAME
shivanand@Pattanshetti-home /etc/samba $ smbclient //192.168.1.101/.AFolder
Enter shivanand's password:
Domain=[PATTANSHETTI] OS=[Unix] Server=[Samba 4.1.6-Ubuntu]
tree connect failed: NT_STATUS_BAD_NETWORK_NAME
Вот еще немного информации:
- Папка "HDD Data" является томом NTFS.
- Я уже пробовал перезапускать сервисы smbd, nmdb и samba.
- Пользователь shivanand уже создан и включен через smbpasswd
Редактировать: удаленный guest ok
, но ошибка все еще сохраняется.
Что я могу делать не так?
Заранее спасибо.