<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=utf-8">


<META content="MSHTML 6.00.6000.16587" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=975283013-14012008><FONT face=Arial color=#0000ff size=2>That 
is great....I'm just starting to read it!</FONT></SPAN></DIV>
<DIV><SPAN class=975283013-14012008><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=975283013-14012008><FONT face=Arial color=#0000ff 
size=2>Thanks!</FONT></SPAN></DIV>
<DIV><SPAN class=975283013-14012008><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=975283013-14012008><FONT face=Arial color=#0000ff 
size=2>Arch</FONT></SPAN></DIV>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
  <DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma 
  size=2>-----Original Message-----<BR><B>From:</B> 
  fedora-list-bounces@redhat.com [mailto:fedora-list-bounces@redhat.com]<B>On 
  Behalf Of </B>Marcelo de Souza Sant'Anna<BR><B>Sent:</B> Monday, January 14, 
  2008 6:50 AM<BR><B>To:</B> For users of Fedora<BR><B>Subject:</B> RE: How to 
  mount a SAMBA directory at boot with FC8?<BR><BR></FONT></DIV>Hi,<BR><BR>Read 
  this pdf:<BR><BR><A 
  href="http://pserver.samba.org/samba/ftp/cifs-cvs/linux-cifs-client-guide.pdf">http://pserver.samba.org/samba/ftp/cifs-cvs/linux-cifs-client-guide.pdf</A><BR><BR><BR>This 
  contain all information about CIFS including your doubt.<BR><BR><BR><BR><BR>On 
  Sun, 2008-01-13 at 20:16 -0500, Arch Willingham wrote: 
  <BLOCKQUOTE TYPE="CITE"><PRE><FONT color=#000000>I took you advice and it worked...thanks! In the FWIW department, here is what I did (if you see anything wrong, please holler):</FONT>

<FONT color=#000000>1. Opened file /etc/auto.master and added this to the bottom:</FONT>
<FONT color=#000000>/mnt/samba /etc/auto.samba -t=120</FONT>


<FONT color=#000000>2. Made a file called /etc/auto.smb.SAMPLEHOSTNAME and added this to the inside:</FONT>

<FONT color=#000000>username=samplesambauser</FONT>
<FONT color=#000000>password=the password you want to use</FONT>

<FONT color=#000000>3. Made a file called  /etc/auto.samba</FONT>
<FONT color=#000000>windows -fstype=cifs,credentials=/etc/auto.smb.SAMPLEHOSTNAME ://SAMPLEHOSTNAME/SHARENAME</FONT>


<FONT color=#000000>4. chmod 600 /etc/auto.smb.SAMPLEHOSTNAME</FONT>

<FONT color=#000000>5. /etc/init.d/autofs restart</FONT>


<FONT color=#000000>6. Ran this to see if it works</FONT>
<FONT color=#000000>ls -als /mnt/samba/windows</FONT>


<FONT color=#000000>Thanks!</FONT>

<FONT color=#000000>Arch</FONT>

<FONT color=#000000>-----Original Message-----</FONT>
<FONT color=#000000>From: <A href="mailto:fedora-list-bounces@redhat.com">fedora-list-bounces@redhat.com</A></FONT>
<FONT color=#000000>[<A href="mailto:fedora-list-bounces@redhat.com">mailto:fedora-list-bounces@redhat.com</A>]On Behalf Of Craig White</FONT>
<FONT color=#000000>Sent: Sunday, January 13, 2008 12:31 PM</FONT>
<FONT color=#000000>To: For users of Fedora</FONT>
<FONT color=#000000>Subject: Re: How to mount a SAMBA directory at boot with FC8?</FONT>


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

<FONT color=#000000>You might however want to check out autofs</FONT>

<FONT color=#000000>Craig</FONT>

<FONT color=#000000>-- </FONT>
<FONT color=#000000>fedora-list mailing list</FONT>
<FONT color=#000000><A href="mailto:fedora-list@redhat.com">fedora-list@redhat.com</A></FONT>
<FONT color=#000000>To unsubscribe: <A href="https://www.redhat.com/mailman/listinfo/fedora-list">https://www.redhat.com/mailman/listinfo/fedora-list</A></FONT>

</PRE></BLOCKQUOTE></BLOCKQUOTE></BODY></HTML>