I have the following map file:

amain  
-fstype=smbfs,netbiosname=$OSNAME,rw,username=foo,password=bar      
piranah:/amain
pcshare
-fstype=smbfs,netbiosname=$OSNAME,rw,username=foo,password=bar      
piranah:/shared

When an automount is attempted on it, the following appears in the
messsage log:
Jan  9 08:29:49 tiger-shark automount[750]: attempting to mount entry
/mnt/piranah/amain
Jan  9 08:29:49 tiger-shark automount[1922]: >> Usage: mount.smbfs
service mountpoint [-o options,...]
Jan  9 08:29:49 tiger-shark automount[1922]: >> Version 2.2.5
Jan  9 08:29:49 tiger-shark automount[1922]: >> Options:
Jan  9 08:29:49 tiger-shark automount[1922]: >>      
username=<arg>                  SMB username
Jan  9 08:29:49 tiger-shark automount[1922]: >>      
password=<arg>                  SMB password
Jan  9 08:29:49 tiger-shark automount[1922]: >>      
credentials=<filename>          file with username/password
Jan  9 08:29:49 tiger-shark automount[1922]: >>      
netbiosname=<arg>               source NetBIOS name
Jan  9 08:29:49 tiger-shark automount[1922]: >>      
uid=<arg>                       mount uid or username
Jan  9 08:29:49 tiger-shark automount[1922]: >>      
gid=<arg>                       mount gid or groupname
Jan  9 08:29:49 tiger-shark automount[1922]: >>      
port=<arg>                      remote SMB port number
Jan  9 08:29:49 tiger-shark automount[1922]: >>      
fmask=<arg>                     file umask
Jan  9 08:29:49 tiger-shark automount[1922]: >>      
dmask=<arg>                     directory umask
Jan  9 08:29:49 tiger-shark automount[1922]: >>      
debug=<arg>                     debug level
Jan  9 08:29:49 tiger-shark automount[1922]: >>      
ip=<arg>                        destination host or IP address
Jan  9 08:29:49 tiger-shark automount[1922]: >>      
workgroup=<arg>                 workgroup on destination
Jan  9 08:29:49 tiger-shark automount[1922]: >>      
sockopt=<arg>                   TCP socket options
Jan  9 08:29:49 tiger-shark automount[1922]: >>      
scope=<arg>                     NetBIOS scope
Jan  9 08:29:49 tiger-shark automount[1922]: >>      
iocharset=<arg>                 Linux charset (iso8859-1, utf8)
Jan  9 08:29:49 tiger-shark automount[1922]: >>      
codepage=<arg>                  server codepage (cp850)
Jan  9 08:29:49 tiger-shark automount[1922]: >>      
ttl=<arg>                       dircache time to live
Jan  9 08:29:49 tiger-shark automount[1922]: >>      
guest                           don't prompt for a password
Jan  9 08:29:49 tiger-shark automount[1922]: >>      
ro                              mount read-only
Jan  9 08:29:49 tiger-shark automount[1922]: >>      
rw                              mount read-write
Jan  9 08:29:49 tiger-shark automount[1922]: >> This command is designed
to be run from within /bin/mount by giving
Jan  9 08:29:49 tiger-shark automount[1922]: >> the option '-t smbfs'.
For example:
Jan  9 08:29:49 tiger-shark automount[1922]: >>   mount -t smbfs -o
username=tridge,password=foobar //fjall/test /data/test
Jan  9 08:29:49 tiger-shark automount[1922]: mount(generic): failed to
mount piranah:/amain (type smbfs) on /mnt/piranah/amain


Help!
-- 
************************************************************************
* Gerald W. Lester                     |  Voice: +1-504-366-7469       *
* Director of Information Technology   |  Fax:   +1-504-368-7258       *
* ShowMaster!(tm) Systems              |  WWW:   www.ShowMaster.com    *
* 1301 Freidrichs St.                  |                               *
* Grenta, LA  70053                    |                               *
* E-mail: [EMAIL PROTECTED] |                               *
************************************************************************

_______________________________________________
autofs mailing list
[EMAIL PROTECTED]
http://linux.kernel.org/mailman/listinfo/autofs

Reply via email to