.\" Man page generated from reStructuredText. . .TH PAM_CIFSCREDS 8 "" "" "" .SH NAME pam_cifscreds \- PAM module to manage NTLM credentials in kernel keyring . .nr rst2man-indent-level 0 . .de1 rstReportMargin \\$1 \\n[an-margin] level \\n[rst2man-indent-level] level margin: \\n[rst2man-indent\\n[rst2man-indent-level]] - \\n[rst2man-indent0] \\n[rst2man-indent1] \\n[rst2man-indent2] .. .de1 INDENT .\" .rstReportMargin pre: . RS \\$1 . nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin] . nr rst2man-indent-level +1 .\" .rstReportMargin post: .. .de UNINDENT . RE .\" indent \\n[an-margin] .\" old: \\n[rst2man-indent\\n[rst2man-indent-level]] .nr rst2man-indent-level -1 .\" new: \\n[rst2man-indent\\n[rst2man-indent-level]] .in \\n[rst2man-indent\\n[rst2man-indent-level]]u .. .SH SYNOPSIS .sp Edit the PAM configuration files for the systems that you want to automatically register NTLM credentials for, e.g. \fI/etc/pam.d/login\fP, and modify as follows: .INDENT 0.0 .INDENT 3.5 .sp .nf .ft C ... auth substack system\-auth +++ auth optional pam_cifscreds.so auth include postlogin ... ... session include system\-auth +++ session optional pam_cifscreds.so domain=DOMAIN session include postlogin ... .ft P .fi .UNINDENT .UNINDENT .sp Change DOMAIN to the name of you Windows domain, or use host= as described below. .SH DESCRIPTION .sp The \fBpam_cifscreds\fP PAM module is a tool for automatically adding credentials (username and password) for the purpose of establishing sessions in multiuser mounts. .sp When a cifs filesystem is mounted with the "multiuser" option, and does not use krb5 authentication, it needs to be able to get the credentials for each user from somewhere. The \fBpam_cifscreds\fP module can be used to provide these credentials to the kernel automatically at login. .sp In the session section of the PAM configuration file, the module can either an NT domain name or a list of hostname or addresses. .SH OPTIONS .sp \fBpam_cifscreds\fP supports a couple options which can be set in the PAM configuration files. You must have one (and only one) of \fBdomain=\fP or \fBhost=\fP\&. .INDENT 0.0 .TP .B debug Turns on some extra debug logging. .TP .B domain= Credentials will be added for the specified NT domain name. .TP .B host=[,...] Credentials will be added for the specified hostnames or IP addresses. .UNINDENT .SH NOTES .sp The pam_cifscreds PAM module requires a kernel built with support for the \fBlogin\fP key type. That key type was added in v3.3 in mainline Linux kernels. .sp Since \fBpam_cifscreds\fP adds keys to the session keyring, it is highly recommended that one use \fBpam_keyinit\fP to ensure that a session keyring is established at login time. .SH SEE ALSO .sp cifscreds(1), pam_keyinit(8) .SH AUTHOR .sp The pam_cifscreds PAM module was developed by Orion Poplawski <\fI\%orion@nwra.com\fP>. .\" Generated by docutils manpage writer. .