| United States-English |
|
|
|
![]() |
HP CIFS Client A.01.09 Administrator's Guide: HP-UX 11.0 and 11i version 1 and 2 > Chapter 8 PAM
NTLMPAM NTLM Configuration |
|
Configure the following to set up PAM-NTLM:
The PAM-NTLM configuration file is /etc/opt/cifsclient/pam/smb.conf. A default configuration file is also provided (smb.conf.default). Do no change the default configuration file because you may need to refer to it in the future. Table 8-1 Title not available (Configuring the PAM NTLM Module)
This task consists of editing the global HP-UX PAM configuration file /etc/pam.conf.
PAM NTLM provides the following services:
Each service corresponds to a specific section of pam.conf. Add entries for the services you wish to use:
The following are sample pam.conf files with all three PAM NTLM services configured. Each PAM NTLM entry consistes of a line that refers to the shared library libpam_ntlm.1. In the authentication management section, when PAM NTLM is used in conjunction with PAM UNIX, it is recommended that the option try_first_pass be specified with the PAM-UNIX entry, as shown.
The following sample pam.conf file is for version B.11.22 of HP-UX: Example 8-1 Sample file for HP-UX version B.11.22 ===================================================================== The following sample pam.conf file is for versions B.11.00 and B.11.11 of HP-UX: Example 8-2 Sample file for HP-UX versions B.11.00 and B.11.11 # To configure PAM NTLM to use the user map file, add the following line to the [Global] section of the /etc/opt/cifsclient/pam/smb.conf file: Domain user map = /etc/opt/cifsclient/pam/domain_user.map You can configure the name and location of the user map file. For name and location, HP recommends the line as shown above. The format of a domain user file entry is: UNIXusername = [\\DOMAIN_NAME\\] DomainUserName UNIXusername is an existing account on the HP-UX system; DomainUserName is the name of the user that is mapped in the NT domain. DOMAIN_NAME is optional. The user map file is parsed line by line. If any line begins with a # or a; then the line is ignored. Each line should contain a single UNIX user name on the left and then a single NT Domain User name on the right, separated by a tabstop or '='. If either name contains spaces then you must enclose it in quotes. The user map file is enabled to be distributed via NIS in a similar manner to the distribution of /etc/passwd to NIS clients. To use this feature:
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||