I have two separate Samba file servers, one for the bulk of my data (on Ubuntu 6.06 LTS), and the other for user home drives (on Fedora Core 8). The home drive server is connected to my Active Directory (MYDOMAIN) with kerberos and winbind, the Ubuntu server is not (although this probably shouldn't matter).
On the Ubuntu server the smb.conf section is as follows:
[pub]
comment = Public Share
path = /home/pub
valid users = @users
force group = users
read only = no
create mask = 0660
directory mask = 0771
And on the Fedora server:
[home]
path = /home/MYDOMAIN
valid users = @users
force group = users
read only = no
create mask = 0660
directory mask = 0771
Both computers have the directory permissions and ownership levels set the same, I have open the necessary firewall ports on the Fedora machine and have also enabled the necessary boolean flags using:
setsebool -P samba_enable_home_dirs on
setsebool -P samba_export_all_rw on
I'm connecting to both of these machines using another Fedora install using the fstab lines:
//ubuntu/pub /mnt/pub cifs rw,username=xxx,password=x
xx 0 0
//fedora/home /home/MYDOMAIN cifs rw,username=xxx,password=x
xx 0 0
The Ubuntu share connects the Fedora does not. I keep getting the error:
mount error 13 = permission denied
refer to the mount.cifs(8) manual page
Which I've done, and as far as I can tell it doesn't actually contain any information about errors.
Any help would be great.
Thanks.
Start Free Trial