Re: auto.smb mounting

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



auto.smb is a script not a regular auto mounter file.  It kind of works like the auto.net but for SMB services.

- Jamie

On 11/8/06, A Yagi <ayagi@xxxxxxxxxxx> wrote:
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

--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list



--
Jamie Bohr
-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux