1 .\" Generated from pam_authenticate.c by gendoc.pl
2 .\" $OpenPAM: pam_authenticate.c 938 2017-04-30 21:34:42Z des $
8 .Nd perform authentication within the PAM framework
11 .In security/pam_appl.h
13 .Fn pam_authenticate "pam_handle_t *pamh" "int flags"
17 function attempts to authenticate the user
18 associated with the pam context specified by the
22 The application is free to call
25 wishes, but some modules may maintain an internal retry counter and
28 when it exceeds some preset or hardcoded limit.
32 argument is the binary or of zero or more of the following
36 Do not emit any messages.
37 .It Dv PAM_DISALLOW_NULL_AUTHTOK
38 Fail if the user's authentication token is null.
41 If any other bits are set,
44 .Dv PAM_BAD_CONSTANT .
48 function returns one of the following values:
54 .It Bq Er PAM_AUTHINFO_UNAVAIL
55 Authentication information is unavailable.
56 .It Bq Er PAM_AUTH_ERR
58 .It Bq Er PAM_BAD_CONSTANT
62 .It Bq Er PAM_CONV_ERR
64 .It Bq Er PAM_CRED_INSUFFICIENT
65 Insufficient credentials.
66 .It Bq Er PAM_MAXTRIES
67 Maximum number of tries exceeded.
68 .It Bq Er PAM_PERM_DENIED
70 .It Bq Er PAM_SERVICE_ERR
71 Error in service module.
72 .It Bq Er PAM_SYSTEM_ERR
74 .It Bq Er PAM_USER_UNKNOWN
82 .%T "X/Open Single Sign-On Service (XSSO) - Pluggable Authentication Modules"
88 function and this manual page were
91 Project by ThinkSec AS and Network Associates Laboratories, the
92 Security Research Division of Network Associates, Inc.\& under
93 DARPA/SPAWAR contract N66001-01-C-8035
95 as part of the DARPA CHATS research program.
97 The OpenPAM library is maintained by
98 .An Dag-Erling Sm\(/orgrav Aq Mt des@des.no .