Hi I'm not an expert in samba..... but this line in /etc/fstab allow me to mount a win share under mandrake 7.1 //eva/e$ /home/W2K smbfs rw,username=whatever,uid=99,gid=100,passwd=yourpass,fmask=664 0 0 eva is the win machine with a share e$ ..... uid=99, gid=100 and fmask=664 is this way to permit any user in the linux box to write and read from the windows share..... if you need to implement this with to autofs..... create (or modify the files /etc/auto.master and /etc/auto.xxx (xxx could be anything you want.....) and inside auto.master put this. ------------ # $Id: auto.master,v 1.2 1997/10/06 21:52:03 hpa Exp $ # Sample auto.master file # Format of this file: # mountpoint map options # For details of the format look at autofs(8). /xxx /etc/auto.xxx --timeout 60 ----------- and inside /etc/auto.xxx ---------- # $Id: auto.misc,v 1.2 1997/10/06 21:52:04 hpa Exp $ # This is an automounter map and it has the following format # key [ -mount-options-separated-by-comma ] location # Details may be found in the autofs(5) manpage usrlocal -rw,hard,intr,rsize=8192,wsize=8192 soledad:/usr/local eva -fstype=smbfs,username=xxxx,passwd=xxxx,fmask=664,uid=99,gid=100 ://eva/e$ michelle -rw,hard,intr,rsize=8192,wsize=8192 michelle:/home --------------------- after this run the automount daemon /etc/rc.d/init/autofs start and add it in the correspondig runlevel with the runlevel editor you want...... (or by hand). More help do: man autofs Izak Fourie escribi�: > Hi, > > I am trying to configure smb filesystems for mounting with samba. I > was just wondering if anyone can tell me what exactly the format for SMB > filesystems is in /etc/fstab? > > Also, I read about autofs is the Samba doc's, but they are not clear at > all and my man pages don't seem to have anything on autofs. What does > this doe and how do you use it. (file? format?) > > I have been struggling for quite some time now, so any help would be > greatly appreciated. > > Thanks > Izak Fourie > > - If you're not using Linux, you're wasting time... > > ------------------------------------------------------------------------ > Keep in touch with http://mandrakeforum.com: > Subscribe the "[EMAIL PROTECTED]" mailing list. -- "I'm trying to free your mind, Neo. But I can only show you the door. You're the one that has to walk through it." -Morpheus, The Matrix --------------------------------------------------------------------- Lic. Alfredo Carlos L�pez INIFTA - Universidad Nacional De La Plata Calle 64 y Diag. 113, C.C. 16 Suc. 4, La Plata, Bs. As., Argentina e-mail: [EMAIL PROTECTED] Tel. +54 221 425-7291/7430 ext. 175 Fax +54 221 425-4642 ---------------------------------------------------------------------
Keep in touch with http://mandrakeforum.com: Subscribe the "[EMAIL PROTECTED]" mailing list.
