1PAM_CIFSCREDS(8)                                              PAM_CIFSCREDS(8)
2
3
4

NAME

6       pam_cifscreds - PAM module to manage NTLM credentials in kernel keyring
7

SYNOPSIS

9       Edit the PAM configuration files for the systems that you want to auto‐
10       matically register NTLM credentials  for,  e.g.  /etc/pam.d/login,  and
11       modify as follows:
12
13              ...
14              auth       substack     system-auth
15          +++ auth       optional     pam_cifscreds.so
16              auth       include      postlogin
17              ...
18
19              ...
20              session    include      system-auth
21          +++ session    optional     pam_cifscreds.so domain=DOMAIN
22              session    include      postlogin
23              ...
24
25       Change  DOMAIN  to  the  name  of  you  Windows domain, or use host= as
26       described below.
27

DESCRIPTION

29       The pam_cifscreds PAM module is a tool for automatically adding creden‐
30       tials  (username and password) for the purpose of establishing sessions
31       in multiuser mounts.
32
33       When a cifs filesystem is mounted with the "multiuser" option, and does
34       not use krb5 authentication, it needs to be able to get the credentials
35       for each user from somewhere. The pam_cifscreds module can be  used  to
36       provide these credentials to the kernel automatically at login.
37
38       In  the  session  section of the PAM configuration file, the module can
39       either an NT domain name or a list of hostname or addresses.
40

OPTIONS

42       pam_cifscreds supports a couple options which can be  set  in  the  PAM
43       configuration  files.   You  must have one (and only one) of domain= or
44       host=.
45
46       debug
47          Turns on some extra debug logging.
48
49       domain=<NT domain name>
50          Credentials will be added for the specified NT domain name.
51
52       host=<hostname or IP address>[,...]
53          Credentials  will  be  added  for  the  specified  hostnames  or  IP
54          addresses.
55

NOTES

57       The  pam_cifscreds  PAM module requires a kernel built with support for
58       the login key type. That key type was added in v3.3 in  mainline  Linux
59       kernels.
60
61       Since pam_cifscreds adds keys to the session keyring, it is highly rec‐
62       ommended that one use pam_keyinit to ensure that a session  keyring  is
63       established at login time.
64

SEE ALSO

66       cifscreds(1), pam_keyinit(8)
67

AUTHOR

69       The  pam_cifscreds  PAM  module  was  developed  by  Orion Poplawski <‐
70       orion@nwra.com>.
71
72
73
74
75                                                              PAM_CIFSCREDS(8)
Impressum