HP CIFS Client A.01.09 Administrator's Guide, August 2003
CIFS Security and Authentication
User Authentication Methods
Chapter 340
use the cifslogout -d command to delete an entry from the
user database. Please see man pages cifslogin, cifslogout for
details.
NOTE Automatic login using user database is not supported with
Kerberos
4. Guest User
This feature enables all users on the HP CIFS Client host who
are not logged into a mounted CIFS server to access the server’s
mountpoints, with the privileges of a guest user. Please also see
the detailed informationon the guestUser parameter in Chapter
7.
The following example explains how to set up guest user
capabilities.
In this example, we use arbitrary names for users, systems,
directories, and shares. You can use any legal names. Perform
the following steps as root:
a. In the CIFS Client configuration file, set the guestUser
parameter to cifsunix:
guestUser = “cifsunix”
b. We recommend that you set up a generic HP-UX account for
this purpose. Create the user cifsunix on the CIFS Client
HP-UX host. For security reasons, set any legal password for
this user:
$useradd cifsunix
$passwd cifsunix
c. On the CIFSserver ntsrv01, create the user cifsguest with
password cifspass, and create the share cifspub for some
directory.
d. On the CIFS Client host, mount the shared directory
cifspub on the CIFS server ntsrv01, at the local
mountpoint, /mnt/cifs01:
$ mount -F cifs ntsrv01:/cifspub /mnt/cifs01