Adoram Rogel enscribed thusly:
> To: Adoram Rogel <[EMAIL PROTECTED]>
> Organization: Faculty of Science, University of Southern Queensland
> Subject: Re: autofs/mount and smb?
> Date sent: Sat, 16 Jan 1999 12:32:33 +1000
> From: Tony Nugent <[EMAIL PROTECTED]>
>
> > On Fri Jan 15 1999 at 17:29, Adoram Rogel wrote:
> >
> > > Tony Nugent wrote:
> > > > On Fri Jan 15 1999 at 13:16, Anders Eriksson wrote:
> > > > > Is it possible to enter smbmounts ino the fstab file and
> > > > > (preferably) the autofs system.
> >
> > > > Redhat uses a /etc/rc.d/init.d/nfsfs script to do this, and it would
> > > > be almost trivial to either:
> >
> > > And you can also use amd (the automounter daemon) and put a couple of
> > > lines in its amd.conf file. That's how I do it.
> >
> > The automount daemon knows about smb? I've missed this one :)
> >
> > Can I have a copy of your amd.conf file?
> >
> > Thanks.
> >
> > Cheers
> > Tony
>
> Yes, you can.
> I only have 3 Windows machine, so for each disk in a windows machine
> I add an entry like this:
> --- entry starts here ---
> adamc
> type:=program;rhost:=adam;rfs:=adamc;mount:="/usr/sbin/smbmount
> smbmount //adam/adamc /a/adam/adamc -f 666 -U os -P password -c
Careful... This line only works with the older kernels and the
older smbmount... Syntax changes with the newer kernels and the smbmount
from Samba 2.0.
Smbmount and smbfs will also cooperate with autofs. Autofs lacks
a few features from amd, but is far more robust than amd. According to
Linus and HPA, autofs is actively being supported while amd is pretty
much legacy.
> gal";unmount:="/usr/sbin/smbumount smbumount /a/adam/adamc"
> --- entry ends here ---
>
> This is, of course, a one line entry. This is for drive C on a machine
> called adam. The /a/ is the place where all the amd mount directory
> reside. os is the user name to login with and password is the password.
> gal is the name of the connecting machine, but it's not important.
>
> HTH, Adoram
>
> ----------------------------------------------------------------------
> Adoram Rogel Home: (650) 594-1010
> Belmont, CA Work: (650) 558-9447 (fax 9448)
> e-mail: [EMAIL PROTECTED] (Work & Home)
> [EMAIL PROTECTED] (Home only!)
> ----------------------------------------------------------------------
> BALD is BEAUTIFUL! GOD Only Made So Many Perfect Heads -
> The Others He Covered With hair!
> ----------------------------------------------------------------------
> Did you know that they named a star after Frank Zappa ?
> (actually its an asteroid) and a Pentium motherboard, too.
> ------------------ Mailed using WinPmail 3.01d -----------------------
Mike
--
Michael H. Warfield | (770) 985-6132 | [EMAIL PROTECTED]
(The Mad Wizard) | (770) 925-8248 | http://www.wittsend.com/mhw/
NIC whois: MHW9 | An optimist believes we live in the best of all
PGP Key: 0xDF1DD471 | possible worlds. A pessimist is sure of it!