[wplug] Automount and CIFS/SMB mounts

John Harrold jmh17 at pitt.edu
Mon Feb 24 13:20:13 EST 2003


Sometime in February Bill assaulted the keyboard and produced:

| I cant seem to get my samba server to auto mount actual Windows shares
| using automount.
| 
| I know to use automount, I need a key entry in auto.master that points
| to the map file, auto.fookey that contains the mount parameters.
| 
| My problem is that I have found several different examples on how to set
| this up and none of them use the same syntax.  
| 
| This is what I have right now:
| 
| #auto.master#
| /mount/point /etc/auto.key 
| 
| #auto.key#
| /mount/point  -fstype=smbfs,username=winusr,password=winusrpwd
| 	//winsvr/share
|


ok i tried this with our samba server (redhat 7.3). i got it working with
the following syntax:

smb  -fstype=smbfs,username=harrold,password=xxxx ://hydra.pg/harrold

note the ':' before the //. i tried it without the : and it wouldn't work.

here are somemore examples:
http://www.linux-consulting.com/Amd_AutoFS/autofs-5.html
        sys       -fstype=smbfs,login=your_id,passwd=xxxxxx ://WinNT/System
        data      -fstype=smbfs,login=your_id,passwd=xxxxxx ://WinNT/Data

hope this helps.

-- 
---------------------------------------------------------------
john harrold               | "They that can give up essential  
     jmh17+maps at pitt.edu   |  liberty to obtain a little       
/"\                        |  temporary safety deserve neither 
\ / ASCII ribbon campaign  |  liberty nor safety."             
 X  against HTML mail      |                                  
/ \                        |  Benjamin Franklin
---------------------------------------------------------------
gpg --keyserver keys.indymedia.org --recv-key F65A739E
---------------------------------------------------------------
Beware of all enterprises that require new clothes.
--Henry David Thoreau

wickets of mass distruction (wmd)
http://www.cricketworldcup.com/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://penguin.wplug.org/pipermail/wplug/attachments/20030224/49ed7697/attachment-0001.bin


More information about the wplug mailing list