Настройка Samba
Добавлено: 12 окт 2016, 19:06
Форумчане, неделю бьюсь не победил! Условие: LM 18 стоит второй осью, соответственно все файлы лежат на диске D, который монтируется при загрузке. Задача: расшарить папку "Загрузки" с этого диска, так что бы любой с гаджета мог смотреть из нее фильмы. Папка расшариватеся, но не пускает, ссылаясь на права доступа....
Конфиг:
Testparam
Load smb config files from /etc/samba/smb.conf
rlimit_max: increasing rlimit_max (1024) to minimum Windows limit (16384)
WARNING: The "syslog" option is deprecated
Processing section "[printers]"
Processing section "[print$]"
Processing section "[Загрузки]"
Loaded services file OK.
WARNING: You have some share names that are longer than 12 characters.
These may not be accessible to some older clients.
(Eg. Windows9x, WindowsMe, and smbclient prior to Samba 3.0.)
Server role: ROLE_STANDALONE
Пробовал команды из консоли:
На этом мои силы закончились, выручайте!))
Конфиг:
Код: Выделить всё
[global]
# Global parameters
server string = %h server (Samba, Ubuntu)
server role = standalone server
map to guest = Bad User
obey pam restrictions = Yes
pam password change = Yes
passwd program = /usr/bin/passwd %u
passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .
unix password sync = Yes
syslog = 0
log file = /var/log/samba/log.%m
max log size = 1000
dns proxy = No
usershare allow guests = Yes
usershare owner only = No
panic action = /usr/share/samba/panic-action %d
idmap config * : backend = tdb
[printers]
comment = All Printers
path = /var/spool/samba
create mask = 0700
printable = Yes
browseable = No
[print$]
comment = Printer Drivers
path = /var/lib/samba/printers
[Загрузки]
path = /media/slava/Work/Загрузки
guest ok = Yes
Load smb config files from /etc/samba/smb.conf
rlimit_max: increasing rlimit_max (1024) to minimum Windows limit (16384)
WARNING: The "syslog" option is deprecated
Processing section "[printers]"
Processing section "[print$]"
Processing section "[Загрузки]"
Loaded services file OK.
WARNING: You have some share names that are longer than 12 characters.
These may not be accessible to some older clients.
(Eg. Windows9x, WindowsMe, and smbclient prior to Samba 3.0.)
Server role: ROLE_STANDALONE
Пробовал команды из консоли:
Код: Выделить всё
# chmod -R 711 /media/slava//Work/Загрузки
# chown -R $USER /media/slava//Work/Загрузки