I've been having trouble with Samba, I've always hated samba for its configuration issues, and here I am dealing with it on Fedora 16 now.
My Issue:
Code:
[root@home samba]# smbclient //localhost/movies -U rtaft
Enter rtaft's password:
Domain=[WORKGROUP] OS=[Unix] Server=[Samba 3.6.6-88.fc16]
tree connect failed: NT_STATUS_BAD_NETWORK_NAME
[root@home samba]# smbclient //localhost/rtaft -U rtaft
Enter rtaft's password:
Domain=[WORKGROUP] OS=[Unix] Server=[Samba 3.6.6-88.fc16]
smb: \> ls
NT_STATUS_ACCESS_DENIED listing \*
I've tried all sorts of suggestions from chmod +x to changing ownership of everything in movies to nobody.
smb.conf
Code:
[global]
workgroup = workgroup
server string = Samba Server Version %v
log file = /var/log/samba/log.%m
max log size = 50
security = user
netbios name = server
; passdb backend = tdbsam
; encrypt passwords = yes
; guest ok = no
; guest account = nobody
[homes]
comment = Home Directories
browseable = no
writable = yes
valid users = %S
[movies]
path = /media/Disk2/Movies
read only = yes
browseable = yes
users = rtaft
create mask = 0644
directory mask = 0755
log output
Code:
[2012/12/16 13:35:14.139100, 0] smbd/service.c:1055(make_connection_snum)
canonicalize_connect_path failed for service movies, path /media/Disk2/Movies
fstab
Code:
/dev/sdb /media/Disk2 ext4 rw,seclabel,nosuid,nodev,relatime,data=ordered 0 0