1 # turn into a manpage with the following command:
3 # pod2man -s 1 -c '' -r '' --stderr cifscreds.pod > cifscreds.1
8 cifscreds - manage NTLM credentials in kernel keyring
12 cifscreds add|clear|clearall|update [-u username] [-d] host|domain
16 The B<cifscreds> program is a tool for managing credentials (username
17 and password) for the purpose of establishing sessions in multiuser
20 When a cifs filesystem is mounted with the "multiuser" option, and does
21 not use krb5 authentication, it needs to be able to get the credentials
22 for each user from somewhere. The B<cifscreds> program is the tool used
23 to provide these credentials to the kernel.
25 The first non-option argument to cifscreds is a command (see the
26 B<COMMANDS> section below). The second non-option argument is a hostname
27 or address, or an NT domain name.
35 Add credentials to the kernel to be used for connecting to the given server, or servers in the given domain.
39 Clear credentials for a particular host or domain from the kernel.
43 Clear all cifs credentials from the kernel.
47 Update stored credentials in the kernel with a new username and
56 =item B<-d>, B<--domain>
58 The provided host/domain argument is a NT domainname.
60 Ordinarily the second argument provided to cifscreds is treated as a
61 hostname or IP address. This option causes the cifscreds program to
62 treat that argument as an NT domainname instead.
64 If there are not host specific credentials for the mounted server, then
65 the kernel will next look for a set of domain credentials equivalent to
66 the domain= option provided at mount time.
68 =item B<-u>, B<--username>
70 Ordinarily, the username is derived from the unix username of the user
71 adding the credentials. This option allows the user to substitute a
78 The cifscreds utility requires a kernel built with support for the
79 B<login> key type. That key type was added in v3.3 in mainline Linux
82 Since B<cifscreds> adds keys to the session keyring, it is highly
83 recommended that one use B<pam_keyinit> to ensure that a session keyring
84 is established at login time.
92 The cifscreds program was originally developed by Igor Druzhinin
93 <jaxbrigs@gmail.com>. This manpage and a redesign of the code was done
94 by Jeff Layton <jlayton@samba.org>.