Problems with Samba configuration - Cannot set permissions right
Dear All
Can anyone help? I am trying to backup a microsoft WHS to my Fedora Core 13 box. I am setting Samba up via webmin.
I can see the shares on the MS box. I am logging in from the MS box from Administrator account and have created an 'Adimistrator' account with same password on the samba box. (samba user Administrator)
Linux server is 192.168.192.6
WHS 192.168.192.5
If I try and connect to the apps share I get this error
[2011/03/16 14:52:33.292515, 0] smbd/service.c:988(make_connection_snum)
canonicalize_connect_path failed for service apps, path /media/data/apps
Any help appreciated. ( testparm, ls-al and config outputs below )
ls -al Output /media
[root@virtual /]# ls -al /media
total 14
drwxr-xr-x. 4 root root 4096 Mar 16 08:58 .
dr-xr-xr-x. 27 root root 4096 Mar 15 17:00 ..
drwxrwxrwx. 8 paul paul 4096 Mar 16 09:34 data
dr-x------. 9 paul paul 596 Jul 13 2008 UDF Volume
ls -al Output /media/data
[root@virtual data]# ls -la
total 12
drwxr-xr-x. 3 root root 4096 Mar 16 14:55 .
dr-xr-xr-x. 27 root root 4096 Mar 15 17:00 ..
drwxrwxrwx. 2 root root 4096 Mar 16 14:55 apps
Config File
#======================= Global Settings =====================================
[global]
log file = /var/log/samba/log.%m
load printers = yes
netbios name = Walnut_Virtual
cups options = raw
writeable = yes
server string = Samba Server Version %v
socket options = TCP_NODELAY
path = /media/data
workgroup = WORKGROUP
os level = 20
encrypt passwords = yes
security = user
passdb backend = tdbsam
max log size = 50
allow hosts = 192.168.192.5
#============================ Share Definitions ==============================
[homes]
comment = Home Directories
user = Administrator,paul
write list = Administrator,paul
; valid users = %S
; valid users = MYDOMAIN\%S
[printers]
comment = All Printers
path = /var/spool/samba
browseable = no
guest ok = no
writable = no
printable = yes
[videos]
write list = paul,Administrator
path = /media/data/shares/videos/
force user = Administrator
browseable = yes
read only = yes
guest ok = yes
[apps]
path = /media/data/apps
public = yes
writeable = no
browseable = yes
valid users = Administrator,paul,Paul
testparm output
[root@virtual data]# testparm
Load smb config files from /etc/samba/smb.conf
rlimit_max: rlimit_max (1024) below minimum Windows limit (16384)
Processing section "[homes]"
Processing section "[printers]"
Processing section "[videos]"
Processing section "[apps]"
Loaded services file OK.
Server role: ROLE_STANDALONE
Press enter to see a dump of your service definitions
[global]
netbios name = WALNUT_VIRTUAL
server string = Samba Server Version %v
security = SHARE
log file = /var/log/samba/log.%m
max log size = 50
path = /media/data
read only = No
hosts allow = 192.168.192.5
cups options = raw
[homes]
comment = Home Directories
username = Administrator,paul
write list = Administrator, paul
[printers]
comment = All Printers
path = /var/spool/samba
read only = Yes
printable = Yes
browseable = No
[videos]
path = /media/data/shares/videos/
write list = paul, Administrator
force user = Administrator
read only = Yes
guest ok = Yes
[apps]
path = /media/data/apps
valid users = Administrator, paul, Paul
read only = Yes
guest ok = Yes
|