-fstype=smbfs,username=username,password=pass,netbiosname=wsname,uid=1000,gid=1000,fmask=600,dmask=700,workgroup=domain,rw
> > ://fileserver/username
> >
> > So to get to my Windows Home directory, cd /mnt/domain/username. Whee. Only
> > problem is that it throws my password into syslog. That's tweakable but I'm
> > lazy...
> 
> Um.  Remove the 'password=pass' option.  Place your password in a 0700
> permission file in /etc.  Call it something like /etc/smbmnt-password.
> In /etc/init.d/autofs add this line:
> 
>     if [ -f /etc/smbmnt-passwd ] ; then
>         SMBPASSWD=`cat /etc/smbmnt-passwd`
>         export SMBPASSWD
>     fi
> 
> There are other env variables you can use.  Look at the manpages for
> smbclient(8) for more info.

That would be great except mount.smbfs/smbmount doesn't pick up on that,
only smbclient does. (I've tested it and that seems to be the case, smbmount
documentation doesn't make any reference to enviorment variables.) 

For smbclient it does work, but the variables are USER and PASSWD according
to the documentation. According to the man pages, those are the only two
enviorment variables.

--
Andy Zbikowski, Sys Admin   | (WEB) http://www.ltiflex.com
LTI Flexible Products, Inc. | (PH)  763-428-9119 (EX) 132
21801 Industrial Blvd       | (FX)  763-428-9126
Rogers, MN  55374           | (PCS) 612-306-6055
-------------- next part --------------
A non-text attachment was scrubbed...
Name: andyzb.vcf
Type: text/x-vcard
Size: 367 bytes
Desc: Card for Andy Zbikowski
Url : http://shadowknight.real-time.com/pipermail/tclug-list/attachments/20010322/85207f27/andyzb.vcf