HP CIFS Client A.02.02 Administrator's Guide

Installing, Configuring, and Using the HP CIFS Client
Using the HP CIFS Client
Chapter 232
To mount:
$ mount -F cifs buildsys:/source /home/devl/source
To unmount, specify only the mout point:
$ umount /home/devl/source
3. Access the shared directory via the mount point on the Client.
The CIFS protocol allows access to mounted directories only to users
who have been authenticated by the server or a domain controller.
This is accomplished through the cifslogin command.
In the examples that follow, the share source has been configured on
the server. The joe user on the Client wants to access the shared
directory on buildsys. This is first attempted by changing directories
to the mount point, but without first logging into the server (this
fails).
Then, by logging into buildsys with the cifslogin command, the
user is authenticated by buildsys and can access its shared source
directory through the CIFS Client’s mount point. Note that the user
name used to login to the CIFS Server can be different than the
current HP-UX login name at the Client. The account and password
pair used in cifslogin must exist on the system that performs the
authentication.
Further, if the server is an HP-UX system, all users on the Client
that access the Server should have the same uid on both systems, so
that file ownership is consistent.
$ whoami
joe
cd /home/dev1/source
sh: /home/dev1/source: not found
This fails because the user has not yet logged into the CIFS Server
buildsys.
$cifslogin buildsys joe
Remote user joe’s password: *****