United States-English |
|
|
HP-UX Reference > Ppam_ldap(5)HP-UX 11i Version 3: February 2007 |
|
NAMEpam_ldap — authentication, account, session, and password management PAM modules for LDAP DESCRIPTIONThe LDAP service module for PAM, /usr/lib/security/$ISA/libpam_ldap.so.1, provides functionality for all four PAM modules: authentication, account management, session management and password management. The libpam_ldap.so.1 module is a shared object that can be dynamically loaded to provide the necessary functionality upon demand. Its path is specified in the PAM configuration file. LDAP Authentication ModuleThe LDAP authentication component provides functions to verify the identity of a user, (pam_sm_authenticate()) and to set user specific credentials (pam_sm_setcred()). pam_sm_authenticate() compares the user entered password with the password from LDAP directory server. If the passwords match, the user is authenticated. The following options may be passed to the UNIX service module:
When prompting for the current password, the LDAP authentication module will use the prompt: Password:. The pam_sm_setcred() function sets user specific credentials. In the case of LDAP, this is a NULL function. LDAP Account Management ModuleThe LDAP account management component provides a function to perform account management (pam_sm_acct_mgmt()). The function retrieves data from the pam header which was set during authentication which would indicate if the password has expired on the directory server.
LDAP Session Management ModuleThe LDAP session management component provides functions to initiate (pam_sm_open_session()) and terminate (pam_sm_close_session()) LDAP sessions. For LDAP, pam_open_session() is a NULL funtion. The following options may be passed in to the LDAP service module:
pam_close_session is a NULL function. LDAP Password Management ModuleThe LDAP password management component provides a function to change passwords (pam_sm_chauthtok()) in the LDAP directory server. This module must be required in pam.conf. It can not be optional or sufficient. The following options may be passed in to the LDAP service module:
If the user's password has expired, the LDAP account module saves this information in the authentication handle using pam_set_data(). The LDAP password module retrieves this information from the authentication handle using pam_get_data() to determine whether or not to force the user to update their password. |
Printable version | ||
|