Re: auto.smb mounting
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Jamie Bohr wrote:
I am looking for document ion on how to use auto.smb. I turned it on
through the auto mounter and was able to see remote shares, just not
access them. I can do "ls /smb/nas" and get a list of shares. However
I can not access those shares. I have read the man page for
mount.cifs. It says to set environment variable called USER and
PASSWD. I have set both. I am able to mount via mount -t cifs ... Is
there something I am missing? I have googled this and am having a hard
time finding information on it. The idea is mount the CIFS share as the
user who tried to access it. It would nice if it works more like NFS in
that UIDs would get mapped correctly.
Maybe after I get this working I will change auto.smb to mount shares to
/smb/<hostname>/<user name> for many people can mount the same share but
with their credentials.
--
Jamie Bohr
Suppose you are trying to mount //winbox/sharename, add this line (note
it is one line) to the autofs map file.
winbox -fstype=cifs,rw,noperm,user=zzzzz,pass=xxxxxx,workgroup=yyyy
://winbox/sharename
This setup has been working for a long time. However, one of our Fedora
Core machines started having a system crash problem as soon as the
kernel was updated to 2.6.18. Thinking it was a kernel-related issue, I
submitted a bug to RedHat but Dave Jones stated it was a bug in nvidia.
I then reported to nvidia forum but this went unanswered. Finally, I
sent a bug report to the samba/cifs bugzilla because the system does not
crash as far as I do not do any cifs mount. Steve French pickup up my
bug report and is looking at it now.
Akemi
[Index of Archives]
[Current Fedora Users]
[Fedora Desktop]
[Fedora SELinux]
[Yosemite News]
[Yosemite Photos]
[KDE Users]
[Fedora Tools]
[Fedora Docs]