HP CIFS Client A.02.02.03 Administrator's Guide

5 Commandline Utilities
This chapter provides details for the CIFS Client Commandline Utilities.
The HP CIFS Client software package consists of the following programs:
cifsclient Stop and start the CIFS client.
cifsmount Mount a directory from a remote server.
cifslogin Authenticates a user to the remote server.
cifsumount Disconnect a local mountpoint from the server, if it is not mounted elsewhere.
cifslogout Disconnect a user login session and disconnect the server shares from the
specified server. After logging out, the user cannot access any files from that
server.
cifslist Lists connected servers, mountpoints, mounted shares, etc.
cifsdb Add, modify and delete entries in CIFS Client databases. The entries allow CIFS
mounts and logins to be performed automatically.
mount_cifs Mounts the CIFS filesystem via mount (1M).
umount_cifs Unmounts the CIFS filesystem via umount (1M).
Each of the utilities described above also accepts the options -h and -v if given as the only
parameter. The option -h prints a short help to standard error and the option -v prints the current
version numbers to standard output.
cifsclient
Synopsis
cifsclient {command}
cifsclient fuser [-v] mountpoint [...]
cifsclient force_umount {mountpoint [...]| -a}
Description
This shell script is used to start and stop the HP CIFS Client, and perform other useful tasks. Only
users with root capabilities can invoke start, stop, restart, fuser, and force_umount
(see also the -a option to klist and kdestroy). Any user can invoke status, klist,
kdestroy, and ver. cifsclient without any additional command is equivalent to cifsclient
start.
Commands
start Starts the daemon.
stop Shut down the daemon.
restart Stop, sleep 1 second, start.
status Display information about daemon.
klist [-a] Display the contents of all of the invoking user's CIFS Client
Kerberos credentials files. This command provides a shortcut
that invokes klist(1) on all of the user's credentials files,
automatically appending the -c {filename} option for
each file. -a (recognized only for root) lists entries for all
users. CIFS Client Kerberos credentials files will be present
on the system only if the configuration parameter,
34 Commandline Utilities