HP CIFS Client A.02.02.03 Administrator's Guide

Synopsis
cifsmount [<options>] //<server>/<share> <mountpoint>
Description
The cifsmount command is used to mount remote shares on the local file system. It mounts the
share <share> from server <server> in the local file system at <mountpoint>. The mountpoint must
exist. You are prompted for a password and the program uses the combination username/password
to log in to the server. If you are already logged in to the given server, the password prompt is
skipped. You can use the option -N to suppress password prompting.
Only users with root capabilities can invoke thecifsmount command to mount filesystems.
Options
-r Mounts as read-only filesystem.
-U <username> Login on server as this user. By default, the HP CIFS Client accesses the
server under the same user name as the login name of the user that issues
the cifsmount command. If you have a different user name at the server,
you may use this option to set that name. It is ignored if you are already
logged in at the server.
-D <domain> Send this domain name to the CIFS server.
-P <password> Password given in commandline. Use this option only if necessary, because
all commandline parameters may show up in the output of the ps command.
It gives you the possibility to pass a dynamically generated password to
the server. The password is ignored if the user is already logged in at the
server.
-S Reads the password from stdin. This option may be useful if you want to
use cifsmount from a shell script or another program. The -P option is
insecure for this purpose because the UNIX command ps can show the
commandline parameters of running processes.
-N Do not prompt for a password. This option may be used to avoid prompting
for a password if you do not have a password.
-I <ipaddress> Use only this IP address to connect to the server. This setting causes the
CIFS Client to bypass all name-resolution procedures for this mount request,
and supersedes any corresponding entry configured in cifsclient.cfg.
-u Enables plain text passwords. The HP CIFS Client refuses to send passwords
in plain text to the server by default because this is a security risk. There
are tools available that sniff the network for plain text passwords. If you
really must send the password in plain text (e.g., because your server does
not allow password encryption), you can enable it with this option. It is
ignored if you are already logged in at the server.
-f Forces mount. When this option is used, the mount is done even if the server
is not responding. No requests are sent to the server. Consequently, none
of the parameters can be checked for validity.
-v Print version information.
-s Saves mount and password in database. Do not use unless you understand
the security implications. HP CIFS Client can maintain a database of mounts,
usernames, and passwords. This database is used at startup to re-establish
stored mounts and to log in users on demand, even if you are not logged
in at the client.
This option may be useful for automounting and to run programs by cron
that cannot ask the user for a password. Passwords are stored in the HP
36 Commandline Utilities