HP-UX Reference (11i v1 00/12) - 3 Library Functions N-Z (vol 7)
__________________________________________________________________________________________________________________________________________________________________________________________________
__________________________________________________________________________________________________________________________________________________________________________________________________
STANDARD Printed by: Nora Chuang [nchuang] STANDARD
/build/1111/BRICK/man3/nan.3m
________________________________________________________________
___ ___
p
pam_start(3) pam_start(3)
struct pam_response{
char ∗resp;
int resp_retcode; /* currently not used, should be set to 0 */
};
It is the responsibility of the conversation function to strip off newline characters for
PAM_PROMPT_ECHO_OFF and PAM_PROMPT_ECHO_ON message styles, and to add newline characters
(if appropriate) for PAM_ERROR_MSG and PAM_TEXT_INFO message styles.
appdata_ptr is an application data pointer which is passed by the application to the PAM service modules.
Since the PAM modules pass it back through the conversation function, the applications can use this
pointer to point to any application-specific data.
pam_end() is called to terminate the authentication transaction identified by pamh and to free any
storage area allocated by the authentication module. The argument, status, is passed to the cleanup()
function stored within the pam handle, and is used to determine what module specific state must be
purged. A cleanup function is attached to the handle by the underlying PAM modules through a call to
pam_set_item(3) to free module specific data.
APPLICATION USAGE
No PAM functions are safe to be called by a multithreaded application.
RETURN VALUES
Refer to pam(3) for information on error related return values.
SEE ALSO
pam_authenticate(3), pam_set_item(3), pam_acct_mgmt(3), pam_open_session(3), pam_setcred(3),
pam_chauthtok(3), pam_strerror(3), pam(3).
Section 3−−608 − 2 − HP-UX Release 11i: December 2000
___
___