Hello!
I have FreeNAS server and domain-controller with Windows Server 2008. I use OpenSuse 11.4 and my Windows account have full access to FreeNAS CIFS share. I can connect through any filemanager with smb protocol support using
smb://windows_user@freenas/share
and I can read and write to any folder.
Now I’m trying to setup mount.cifs. Here is my string in /etc/fstab:
hcvv, I used page from your link to setup my fstab. I also tried to move username/password to ‘credentials’ option, still no access for user id 1000. And I get the same situation if i mount this share using autofs.
I am not a SAMBA user at all. And Swerdna himself is off for a holliday of a few days.
But people having problems in using mounted exports (I think the word “share” is used in Windows terms), often have the ownership/access of the mountpoint wrong. Thus show us
OK, that is fine. Thus this very often occurring error is not made in this case.
As said I am not a SAMBA user, thus I have no experience with the owning user/group and access bits faking that such a mount does. So againn something wild (I guess you checked that of course, but you did not show and and I am curious), what were they made in your case?
ls -la /mnt/Data
(BTW why do you have a directory that is strictly for user ink inside a place where the system manager is supposed to be free to handle all sorts of mounts needed for system managent? Why is this not somewhere inside that users home directory?)
I think that’s because there is only one user and no really need to make it well-secured or structured. Maybe I should mount it to home directory =)
Now, listenings:
>
>hcvv, I used ‘page’
>(http://www.swerdna.net.au/susesambacifs.html#permown) from your link to
>setup my fstab. I also tried to move username/password to ‘credentials’
>option, still no access for user id 1000. And I get the same situation
>if i mount this share using autofs.
Having a dollop of experience here i suspect your issue is on the server
side rather than on the client side. but that is only a guess.
I tried all of this options before (excluding iocharset) but not at this combination, I think.
Anyway, this solved my problem. And may be helpful for someone else.