Max Kipness
2006-Sep-18 15:34 UTC
[Samba] cifs reading Samba mounted share...permissions error
I have a Samba 3.0.23a-1.fc5.1 configured on a Fedora 5 server. It's joined to an Active Directory 2003 domain controller using Winbind, etc. I'm able to connect from various workstations using active directory user accounts/credentials just fine to shares on this server, permissions work, and all is well. I'm guessing this is set up correctly. However, from another Fedora 5 server, using cifs, I can mount shares on this server, and can list directories/files, but when I try to read or write any files, I can a permission denied error. So to summarize, if I go to an XP workstation in which I'm logged in as domain administrator, go to run and type: \\FEDORASERVER\SHARENAME I can see files, read files and write to files as domain\administrator has full access to these files/directories. However, if from another Fedora 5 server, I mount the share using: mount -rw -t cifs -o user=domain\\administrator,pass=password //FEDORASERVER/SHARENAME /share/FEDORASERVER/SHARENAME/ I can list files, but when trying to do a cat on any file, I get: cat: /share/FEDORASERVER/SHARENAME/test.txt: Permission denied Can someone help with this issue? Shouldn't I be able to read/write from either source exactly the same? Thanks, Max
Max Kipness
2006-Sep-28 16:31 UTC
[Samba] cifs reading Samba mounted share...permissions error
I have a Samba 3.0.23a-1.fc5.1 configured on a Fedora 5 server. It's joined to an Active Directory 2003 domain controller using Winbind, etc. I'm able to connect from various workstations using active directory user accounts/credentials just fine to shares on this server, permissions work, and all is well. I'm guessing this is set up correctly. However, from another Fedora 5 server, using cifs, I can mount shares on this server, and can list directories/files, but when I try to read or write any files, I can a permission denied error. So to summarize, if I go to an XP workstation in which I'm logged in as domain administrator, go to run and type: \\FEDORASERVER\SHARENAME I can see files, read files and write to files as domain\administrator has full access to these files/directories. However, if from another Fedora 5 server, I mount the share using: mount -rw -t cifs -o user=domain\\administrator,pass=password //FEDORASERVER/SHARENAME /share/FEDORASERVER/SHARENAME/ I can list files, but when trying to do a cat on any file, I get: cat: /share/FEDORASERVER/SHARENAME/test.txt: Permission denied Can someone help with this issue? Shouldn't I be able to read/write from either source exactly the same? Thanks, Max
Akemi Yagi
2006-Sep-28 21:05 UTC
[Samba] Re: cifs reading Samba mounted share...permissions error
Max Kipness <max <at> assuredata.com> writes:> However, if from another Fedora 5 server, I mount the share using: > > mount -rw -t cifs -o user=domain\\administrator,pass=password > //FEDORASERVER/SHARENAME /share/FEDORASERVER/SHARENAME/ > > I can list files, but when trying to do a cat on any file, I get: > cat: /share/FEDORASERVER/SHARENAME/test.txt: Permission deniedYou might want to try adding "noperm" as a mount option. Read the man page for mount.cifs to see if this is suitable in your situation. Akemi