Problem with automounting Samba shares

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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!

What I would really like is for the automount to work and the user's
login id be passed and them be prompted for a psssword.

-- 
+--------------------------------+---------------------------------------+
| Gerald W. Lester               | "The man who fights for his ideals is
|
| Gerald.Lester@cox.net          |  the man who is alive." -- Cervantes 
|
+--------------------------------+---------------------------------------+



-- 
Psyche-list mailing list
Psyche-list@redhat.com
https://listman.redhat.com/mailman/listinfo/psyche-list

[Index of Archives]     [Fedora General Discussion]     [Red Hat General Discussion]     [Centos]     [Kernel]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat 9]     [Gimp]     [Yosemite News]

  Powered by Linux