HP CIFS Client A.02.02.03 Administrator's Guide

This fails because the user has not yet logged into the CIFS Server buildsys.
$ cifslogin buildsys joe
Remote user joe's password: *****
This succeeds. you can use cifslist command to verify the results. The cifslist command
without any option displays servers with shares and mountpoints information, it uses the
\\server\share format for mounted objects.
$ cifslist
Mounted Object Mountpoint State
-------------------------------------------------------------
\\buildsys\source /home/devl/source M
=============================================================
Server Local User Remote User Domain State
-------------------------------------------------------------
buildsys joe joe L
If you use the cifslist -x command to verify the results, the output shows servers with
shares and mountpoints information using UNIX format: server:/share for mounted objects.
$ cifslist -x
Mounted Object Mountpoint State
-------------------------------------------------------------
buildsys:/source /home/devl/source M
=============================================================
Server Local User Remote User Domain State
-------------------------------------------------------------
buildsys joe joe L
$ cd /home/dev1/source
This succeeds because of the cifslogin above.
Using the example above (source is mounted and user joe is authenticated on buildsys), a
user named lucy accesses the mount as follows:
$ cifslogin buildsys lucy
Remote user lucy's password: *****
You can use the cifslist command to verify results:
$ cifslist
Mounted Object Mountpoint State
-------------------------------------------------------------
\\BUILDSYS\source /home/devl/source M
=============================================================
Server Local User Remote User Domain State
--------------------------------------------------------------
buildsys joe joe L
buildsys lucy lucy L
Note that the Local User (the HP-UX account name) does not need to be the same as the Remote
User (the CIFS server account name). In the previous example, if the local (HP-UX) user lucy
has the CIFS account name lucille, she would login as follows:
$ cifslogin buildsys lucille
Remote user lucille's password: *****
You can use the cifslist command to show results:
$ cifslist
Mounted Object Mountpoint State
-------------------------------------------------------------
\\BUILDSYS\source /home/devl/source M
=============================================================
Server Local User Remote User Domain State
--------------------------------------------------------------
18 Installing, Configuring, and Using the HP CIFS Client