After looking for hours гm looking for help here.
My Setup is:
Yesterday SMB was working perfectly умер, but after coming home today, there is не connection to the shares.
My current user with ssh connects прекратился well and the server хан be found on the client. But if I enter "root"-> "mnt" гll get в permission denied... Мультимедиа is working в little бит обитал, but only with those directly on the same drive. There пахал многообразный symlinks which пашите not working.
Somebody help please :(
My SMB Config (Testparm looks good.)
[global]
workgroup = ZIRP
server string = %h server (Samba, Ubuntu)
dns proxy = no
; interfaces = 127.0.0.0/8 eth0
; bind interfaces only = yes
log file = /var/log/samba/log.%m
max log size = 1000
syslog = 0
panic action = /usr/share/samba/panic-action %d
unix password sync = yes
passwd program = /usr/bin/passwd %u
passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .
map to guest = bad user
[Home]
path = %H
comment = Home Directories
; browseable = no
; read only = yes
create mask = 0755
directory mask = 0755
;valid users = %S
[printers]
comment = All Printers
browseable = no
path = /var/spool/samba
printable = yes
guest ok = no
read only = yes
create mask = 0700
# Windows clients look for this share name as a source of downloadable
# printer drivers
[print$]
comment = Printer Drivers
path = /var/lib/samba/printers
browseable = yes
read only = yes
guest ok = no
# Uncomment to allow remote administration of Windows print drivers.
# You may need to replace 'lpadmin' with the name of the group your
# admin users are members of.
# Please note that you also need to set appropriate Unix permissions
# to the drivers directory for these users to have write rights in it
write list = root, @lpadmin
[Multimedia]
path = /mnt/Festplatte2/Multimedia
follow symlinks=yes
[Root]
path = /
valid users = benjamin
write list = benjamin
writable = yes
follow symlinks=yes
Найденный ответом самостоятельно на http://ubuntuforums.org/showthread.php?t=1600541
Добавляет следующие строки к [глобальному] разделу smb.conf: Код: следуйте за символьными ссылками = да широкие ссылки = да, расширения Unix = никакой
Затем перезапускают сервис самбы: Код: сервис sudo smbd перезапуск