Re: auto.smb mounting

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

 



Akemi Yagi wrote:
Jamie Bohr wrote:
That is what I think too however I don't understand how it interacts with autofs. I put "-o credentials=/home/myhome/.credentials" in the '/Disk/' line in auto.smb to see if I could get it to work, it did not. I am able to do the following:

mount -t cifs //nas/share /mnt1 -o credentials=/homejmyhome/.credentials

so I know my credentials file is correct. I even tried exporting USER and PASSWORD as stated in the man page for mount.cifs

This agrees with my own experience. I was not able to use credential file in autofs, which is why I included username and passwd on the line in my autofs map file.

Akemi

Don't know why but I tried again the following line in the map file and it worked.

winbox -fstype=cifs,rw,noperm,credentials=/path/to/credentialfile ://winbox/sharename

Akemi

--
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