HP CIFS Client A.02.02.03 Administrator's Guide

er721142 root john L
hpntc43 root cifsuser WORKGROUP LS
cifslist —m
The following is an example output for the cifslist -m command:
$ cifslist -m
Mounted Object Mountpoint State
-------------------------------------------------------------
\\er721142\pub /mnt/cifs_linux/00 M
\\er721141\pub /mnt/cifs_nt/00 M
\\hpntc43\pub /mnt/cifs_nt/01 MS
In the above example, HP CIFS Client uses the \\server\share foramt for mounted objects.
cifsdb
Synopsis
cifsdb [-d] {<mount_point|server>}
Description
The cifsdb command is used to add, modify and delete entries in CIFS Client databases. The
entries allow CIFS mounts and logins to be performed automatically, as described below.
CIFS Mounts
If a shared directory on a CIFS server has been mounted at mount_point, then cifsdb
mount_point saves the mount-point, server, shared-directory names, and other pertinent
information in the CIFS Client mount database file, /var/opt/cifsclient/cfgdb.ppl, such that the
mount can be re-established automatically whenever the CIFS Client is started. If an entry already
exits for this mount-point in the database, it is replaced. mount_point must be absolute path.
Only users with root privileges may manage CIFS mounts database entries.
The HP CIFS Client supports similar functionality through the standard UNIX /etc/fstab
mechanism, see “Using /etc/fstab” (page 19) or fstab(4) for details.
CIFS Logins
If a user has established a CIFS login session at server through the NTLM authentication protocol,
then if that user invokes cifsdb server, the NTLM hash of the user's password and other
information pertinent to the login session are encrypted and then saved in the CIFS Client user
database, cifsclient.udb, such that the user can subsequently be automatically logged in to server.
If an entry already exists for this user-server pair in the database, it is replaced.
For CIFS logins that have been authenticated with Kerberos, users' NTLM password hashes are
not saved in the CIFS Client user database. You can establish automatic CIFS logins with Kerberos
through kinit(1) or PAM-KERBEROS, as described in the “CIFS Security and Authentication”
(page 22).
Options
-d {<mount_point|server>} Delete the corresponding entry for this mount_point or
server from the database. Neither the mount nor the login
needs to be active for the entry to be deleted.
Files
/var/opt/cifsclient/cifsclient .udb CIFS user database file
/var/opt/cifsclient/cfgdb.ppl CIFS mount database file
cifsdb 41