You are not logged in.

#1 2007-08-01 12:49:19

bigkeith
Member
Registered: 2007-08-01
Posts: 2

autofs and mounting smb shares

I am having issues with an anonymous share on a freenas server. when i mount the share via smb with fstab or via autofs i can see the shares but i have no permissions.

for the username and password I enter NULL

snap1 fstype=smbfs,username=NULL,password,NULL,uid=1000,gid=1000 :/server/share

//server/share /mount/location smbfs  username=NULL,password=NULL 0 0

i have even tried without the username and password. the share still mounts but no write permissions. on the flip side if i use KDE to navigate to the share it works fine. any suggestions?

Offline

#2 2007-08-01 15:23:15

pelle.k
Member
From: Åre, Sweden (EU)
Registered: 2006-04-30
Posts: 667

Re: autofs and mounting smb shares

try with guest,rw as your only options. and use cifs instead of smbfs. If that doesn't do it, try forcing user and group in serverside smb.conf.
btw, i usually do this with security = "share" setting.

KDE and gnome doesn't "mount", but use gnome-vfs vs. KIO, so i'm not sure you can see what options are used from there...

Last edited by pelle.k (2007-08-01 15:23:53)


"Your beliefs can be like fences that surround you.
You must first see them or you will not even realize that you are not free, simply because you will not see beyond the fences.
They will represent the boundaries of your experience."

SETH / Jane Roberts

Offline

#3 2007-08-01 21:17:06

bigkeith
Member
Registered: 2007-08-01
Posts: 2

Re: autofs and mounting smb shares

thank you! the guest option worked. if any one follows this:

autofs

snap1 -fstype=cifs,guest,rw ://192.168.85.21/snap1

Last edited by bigkeith (2007-08-01 21:24:17)

Offline

Board footer

Powered by FluxBB