Blame cifscreds.rst

Packit 5f9837
=========
Packit 5f9837
cifscreds
Packit 5f9837
=========
Packit 5f9837
Packit 5f9837
-----------------------------------------
Packit 5f9837
manage NTLM credentials in kernel keyring
Packit 5f9837
-----------------------------------------
Packit 5f9837
Packit 5f9837
:Manual section: 1
Packit 5f9837
Packit 5f9837
********
Packit 5f9837
SYNOPSIS
Packit 5f9837
********
Packit 5f9837
Packit 5f9837
Packit 5f9837
cifscreds add|clear|clearall|update [-u username] [-d] host|domain
Packit 5f9837
Packit 5f9837
Packit 5f9837
***********
Packit 5f9837
DESCRIPTION
Packit 5f9837
***********
Packit 5f9837
Packit 5f9837
Packit 5f9837
The \ **cifscreds**\  program is a tool for managing credentials (username
Packit 5f9837
and password) for the purpose of establishing sessions in multiuser
Packit 5f9837
mounts.
Packit 5f9837
Packit 5f9837
When a cifs filesystem is mounted with the "multiuser" option, and does
Packit 5f9837
not use krb5 authentication, it needs to be able to get the credentials
Packit 5f9837
for each user from somewhere. The \ **cifscreds**\  program is the tool used
Packit 5f9837
to provide these credentials to the kernel.
Packit 5f9837
Packit 5f9837
The first non-option argument to cifscreds is a command (see the
Packit 5f9837
\ **COMMANDS**\  section below). The second non-option argument is a hostname
Packit 5f9837
or address, or an NT domain name.
Packit 5f9837
Packit 5f9837
Packit 5f9837
********
Packit 5f9837
COMMANDS
Packit 5f9837
********
Packit 5f9837
Packit 5f9837
Packit 5f9837
Packit 5f9837
\ **add**\ 
Packit 5f9837
 
Packit 5f9837
 Add credentials to the kernel to be used for connecting to the given server, or servers in the given domain.
Packit 5f9837
 
Packit 5f9837
Packit 5f9837
Packit 5f9837
\ **clear**\ 
Packit 5f9837
 
Packit 5f9837
 Clear credentials for a particular host or domain from the kernel.
Packit 5f9837
 
Packit 5f9837
Packit 5f9837
Packit 5f9837
\ **clearall**\ 
Packit 5f9837
 
Packit 5f9837
 Clear all cifs credentials from the kernel.
Packit 5f9837
 
Packit 5f9837
Packit 5f9837
Packit 5f9837
\ **update**\ 
Packit 5f9837
 
Packit 5f9837
 Update stored credentials in the kernel with a new username and
Packit 5f9837
 password.
Packit 5f9837
 
Packit 5f9837
Packit 5f9837
Packit 5f9837
Packit 5f9837
*******
Packit 5f9837
OPTIONS
Packit 5f9837
*******
Packit 5f9837
Packit 5f9837
Packit 5f9837
Packit 5f9837
\ **-d**\ , \ **--domain**\ 
Packit 5f9837
 
Packit 5f9837
 The provided host/domain argument is a NT domainname.
Packit 5f9837
 
Packit 5f9837
 Ordinarily the second argument provided to cifscreds is treated as a
Packit 5f9837
 hostname or IP address. This option causes the cifscreds program to
Packit 5f9837
 treat that argument as an NT domainname instead.
Packit 5f9837
 
Packit 5f9837
 If there are not host specific credentials for the mounted server, then
Packit 5f9837
 the kernel will next look for a set of domain credentials equivalent to
Packit 5f9837
 the domain= option provided at mount time.
Packit 5f9837
 
Packit 5f9837
Packit 5f9837
Packit 5f9837
\ **-u**\ , \ **--username**\ 
Packit 5f9837
 
Packit 5f9837
 Ordinarily, the username is derived from the unix username of the user
Packit 5f9837
 adding the credentials. This option allows the user to substitute a
Packit 5f9837
 different username.
Packit 5f9837
 
Packit 5f9837
Packit 5f9837
Packit 5f9837
Packit 5f9837
*****
Packit 5f9837
NOTES
Packit 5f9837
*****
Packit 5f9837
Packit 5f9837
Packit 5f9837
The cifscreds utility requires a kernel built with support for the
Packit 5f9837
\ **login**\  key type. That key type was added in v3.3 in mainline Linux
Packit 5f9837
kernels.
Packit 5f9837
Packit 5f9837
Since \ **cifscreds**\  adds keys to the session keyring, it is highly
Packit 5f9837
recommended that one use \ **pam_keyinit**\  to ensure that a session keyring
Packit 5f9837
is established at login time.
Packit 5f9837
Packit 5f9837
Packit 5f9837
********
Packit 5f9837
SEE ALSO
Packit 5f9837
********
Packit 5f9837
Packit 5f9837
Packit 5f9837
pam_keyinit(8)
Packit 5f9837
Packit 5f9837
Packit 5f9837
*******
Packit 5f9837
AUTHORS
Packit 5f9837
*******
Packit 5f9837
Packit 5f9837
Packit 5f9837
The cifscreds program was originally developed by Igor Druzhinin
Packit 5f9837
<jaxbrigs@gmail.com>. This manpage and a redesign of the code was done
Packit 5f9837
by Jeff Layton <jlayton@samba.org>.
Packit 5f9837