Greetings!
I seem to have a problem getting autofs to mount smb shares. Using the
standard distribution and standard setup, when I attempt to mount a share
from a windows box, I get the following error:
attempting to mount entry /misc/tao
: lookup(file): looking up tao
: lookup(file): tao -> -fstype=smbfs^I^I://tao/c
: expanded entry: -fstype=smbfs^I^I://tao/c
: parse(sun): gathered options: fstype=smbfs
: parse(sun): core of entry: //tao/c
: do_mount //tao/c /misc/tao type smbfs options (null) using module
smbfs
: mount(smbfs): no password option, adding -n
: mount(smbfs): no password option, adding -n
: mount(smbfs): calling mkdir /misc/tao
: >> XXXXXXXXX: option requires an argument -- n
: >> Usage: /usr/bin/smbmount service <password> [-p port] [-d
debuglevel] [-l log]
: >> Version 2.0.2
: >> ^I-p port connect to the specified port
: >> ^I-d debuglevel set the debuglevel
: >> ^I-l log basename. Basename for log/debug files
: >> ^I-n netbios name. Use this name as my netbios name
: >> ^I-N don't ask for a password
: >> ^I-m max protocol set the max protocol level
: >> ^I-I dest IP use this IP to connect to
: >> ^I-E write messages to stderr instead of
stdout
: >> ^I-U username set the network username
: >> ^I-W workgroup set the workgroup name
: >> ^I-c command string execute semicolon separated commands
: >> ^I-t terminal code terminal i/o code
{sjis|euc|jis7|jis8|junet|hex}
: >> ^I-D directory start from directory
: mount(smbfs): failed to mount //tao/c on /misc/tao
This is using the tools from a standard RedHat 5.2 install (upgraded to
2.2 with all the needed goodies).
I was able to do a workaround by using mounts ability to look for a
"mount.<fstype>" program (which I wrote as a script).
But I was wondering what the issue is here.
G'day! <confused since I switched to redhat -- should have stuck
with my own distribution I've been using since 0.99>
-- n i c h o l a s j l e o n
elegance through simplicity*http://mrnick.binary9.net*[EMAIL PROTECTED]
good fortune through truth*roaming:[EMAIL PROTECTED]*ICQ#2170994*U+($++)
TRA#6805*not all questions have answers*pseudogeek:P+++($++)L+($++)W=lm@b9
2.3x10e-53*seek the path-not the destination*madison*pain builds character