HP CIFS Client A.01.09 Administrator's Guide, August 2003

Commandline Utilities
cifsmount
Chapter 5 59
IP address of server. By default, the hostname of the
server is taken from the server specification of the
share. This must also be the Netbios host name of the
server, if the server enforces correct Netbios names. HP
CIFS Client uses Domain Name Server instead of
Netbios to resolve server names to IP addresses. If the
DNS name of the server is different from the Netbios
name, you may supply the DNS name or the server's IP
address with this parameter. It is ignored if the server
is already connected.
-p <
portnumber
>
Sets the connection port. Netbios connections are
usually made on port 139. If you want to connect on a
different port, you can supply a decimal port number
with this parameter. This parameter is ignored if the
server is already connected.
-r Mounts as read-only filesystem.
-U <
username
>
Username sent to server. 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.
-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.