We are automounting a Win2K volume into our FTP running RH 7.2. This is the
entry I manually put into /etc/fstab (anonymized):

//server/share /var/ftp-home/mountdir smbfs
defaults,username=*user*,password=*pwd,uid=*uid,gid=*gid* 0 0

A couple of notes:
- the "mountdir" must exist on your Linux box
- the user account must exist on your Linux box
- you shouldn't give the user account too much rights since login and
password are cleartext in /etc/fstab.

Anyone a better solution?

At 21:06 17.10.2002, you said:
--------------------[snip]--------------------
>Hi List,
>
>I'm new to Linux and would appreciate some help.
>
>My problem is that I can't get SMB shares to automount.
>
>Some background. I have a simple peer to peer home network - 1 RH7.3 box, 2 
>Win98 boxes.
>
>Samba is configured and running. I can manually mount the shares by using 
>either:
>
>smbmount //server/share /mount/smb1 -o password=XXX
>
>or
>
>mount -t smbfs -o password=xxx //server/share /mount/smb1
>
>Trying to automount, I have added this line to auto.master:
>
>/mount file /etc/auto.mount --timeout 180
>
>My auto.mount file has:
>
>smb1 -t smbfs, -o password=XXX ://server/share
>
>After an autofs restart, then getting the following status:
>
>/usr/sbin/automount --timeout 180 /mount file /etc/auto.mount
>
>Yet the share has not mounted, with the key of smb1 not being "visible". 
>Could someone point me in the right direction. I have read the man pages and 
>got some information via google, but I can't seem to spot the problem.
>
>Regards,
>
>Roland Hill
>
>############################################################################
>#########
>This e-mail message has been scanned for Viruses and Content and cleared 
>by MailMarshal
>For more information please visit www.marshalsoftware.com
>############################################################################
>#########
>
>
>
>-- 
>redhat-list mailing list
>unsubscribe mailto:redhat-list-request@;redhat.com?subject=unsubscribe
>https://listman.redhat.com/mailman/listinfo/redhat-list
--------------------[snip]-------------------- 

   >O     Ernest E. Vogelsinger
   (\)    ICQ#   13394035
    ^     



-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@;redhat.com?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to