I use smbmount together with autofs. Since the smbmount syntax has
changed various times, I have been using Michael Warfields smbmount.sh
script. That is now out-of-date and I am in the process of rewriting
the script for newer smbmount versions.
hpa has asked for a list of options before so I will send in the
list to whom it may concern:
* smbmount 2.0.1/2.0.2
usage: smbmount //server/service mount-point [options]
Version 2.0.2
-p port Port to connect to (used only for testing)
-m max_xmit max_xmit offered (used only for testing)
-s servername Netbios name of server
-c clientname Netbios name of client
-I machinename The hostname of the machine
-U username Username sent to server
-D domain Domain name
-u uid uid the mounted files get
-g gid gid the mounted files get
-f mode permission the files get (octal notation)
-d mode permission the dirs get (octal notation)
-C Don't convert password to uppercase
-P password Use this password
-n Do not use any password
If neither -P nor -n are given, you are
asked for a password.
-h print this help text
* smbmount 2.0.3/2.0.4/2.0.4a/2.0.4b
Usage: smbmount service <password> [-p port] [-d debuglevel] [-l log]
Version 2.0.3
-p port connect to the specified port
-d debuglevel set the debuglevel
-l log basename. Basename for log/debug files
-n netbios name. Use this name as my netbios name
-N don't ask for a password
-m max protocol set the max protocol level
-I dest IP use this IP to connect to
-E write messages to stderr instead of stdout
-U username set the network username
-W workgroup set the workgroup name
-c command string execute semicolon separated commands
-t terminal code terminal i/o code {sjis|euc|jis7|jis8|junet|hex}
-D directory start from directory
* smbmount 2.0.5/2.0.5a
Usage: smbmount //server/share mountpoint [options ...]
Version 2.0.5a
-d debuglevel set the debuglevel
-n netbios name. Use this name as my netbios name
-N don't ask for a password
-I dest IP use this IP to connect to
-E write messages to stderr instead of stdout
-U username set the network username
-W workgroup set the workgroup name
-t terminal code terminal i/o code {sjis|euc|jis7|jis8|junet|hex}
As you can see, the mountpoint syntax is back to the original usage.
The most important difference between the oldest version and newer versions
is the use of -n/-N for no password. The password is now supplied with
-U user%password
Best regards
Kevin
--
_ | Kevin Ivory | Tel: ++49-551-3700005
|_ |\ | | Service Network GmbH | Fax: ++49-551-3700009
._|ER | \|ET | Hannah-Vogt-Str. | mailto:[EMAIL PROTECTED]
Service Network | D-37085 Goettingen | http://www.SerNet.de/