RE: How to mount a SAMBA directory at boot with FC8?

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

 



That is great....I'm just starting to read it!
 
Thanks!
 
Arch
-----Original Message-----
From: fedora-list-bounces@xxxxxxxxxx [mailto:fedora-list-bounces@xxxxxxxxxx]On Behalf Of Marcelo de Souza Sant'Anna
Sent: Monday, January 14, 2008 6:50 AM
To: For users of Fedora
Subject: RE: How to mount a SAMBA directory at boot with FC8?

Hi,

Read this pdf:

http://pserver.samba.org/samba/ftp/cifs-cvs/linux-cifs-client-guide.pdf


This contain all information about CIFS including your doubt.




On Sun, 2008-01-13 at 20:16 -0500, Arch Willingham wrote:
I took you advice and it worked...thanks! In the FWIW department, here is what I did (if you see anything wrong, please holler):

1. Opened file /etc/auto.master and added this to the bottom:
/mnt/samba /etc/auto.samba -t=120


2. Made a file called /etc/auto.smb.SAMPLEHOSTNAME and added this to the inside:

username=samplesambauser
password=the password you want to use

3. Made a file called  /etc/auto.samba
windows -fstype=cifs,credentials=/etc/auto.smb.SAMPLEHOSTNAME ://SAMPLEHOSTNAME/SHARENAME


4. chmod 600 /etc/auto.smb.SAMPLEHOSTNAME

5. /etc/init.d/autofs restart


6. Ran this to see if it works
ls -als /mnt/samba/windows


Thanks!

Arch

-----Original Message-----
From: fedora-list-bounces@xxxxxxxxxx
[mailto:fedora-list-bounces@xxxxxxxxxx]On Behalf Of Craig White
Sent: Sunday, January 13, 2008 12:31 PM
To: For users of Fedora
Subject: Re: How to mount a SAMBA directory at boot with FC8?


On Sun, 2008-01-13 at 12:24 -0500, Arch Willingham wrote:
> I have read a bunch of stuff on how to do this but the exact steps are
> unclear. Some articles say to use the "mount -t smbfs -o
> username=username //winclient/blahblah /mnt/winclient-blahblah", some
> say to use "smbmount" and some say not to use cifs (mount -t cifs -o
> username=netuser,password=hiddenword //windowsmachine/origin /home/username/destination). Which one is the best?
> 
> 
> Then there is the while issue of the fstab thing.
> 
> What I want to do is mount a directory on a windows machine at boot
> time (I.E> when the Linux machine boots). I want all users to be able
> to have the local directory \images be re-routed to a directory on a
> windows machine. I see some of the commands but each has the mount
> command that shows the password to get to the windows machine. Is
> there any way to get the password from a file so that all users of the
> Linux machine can't see the password?
----
put it in root's subdirectory.

You might however want to check out autofs

Craig

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

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