pam_start.3 revision 1.5 1 1.5 christos <<<<<<< pam_start.3
2 1.4 christos .\" $NetBSD: pam_start.3,v 1.5 2014/10/24 18:17:56 christos Exp $
3 1.1 christos .\"
4 1.5 christos =======
5 1.5 christos >>>>>>> 1.1.1.4
6 1.4 christos .\" Generated from pam_start.c by gendoc.pl
7 1.4 christos .\" Id: pam_start.c 648 2013-03-05 17:54:27Z des
8 1.5 christos .Dd September 12, 2014
9 1.1 christos .Dt PAM_START 3
10 1.1 christos .Os
11 1.1 christos .Sh NAME
12 1.1 christos .Nm pam_start
13 1.1 christos .Nd initiate a PAM transaction
14 1.1 christos .Sh LIBRARY
15 1.1 christos .Lb libpam
16 1.1 christos .Sh SYNOPSIS
17 1.1 christos .In sys/types.h
18 1.1 christos .In security/pam_appl.h
19 1.1 christos .Ft "int"
20 1.1 christos .Fn pam_start "const char *service" "const char *user" "const struct pam_conv *pam_conv" "pam_handle_t **pamh"
21 1.1 christos .Sh DESCRIPTION
22 1.1 christos The
23 1.3 christos .Fn pam_start
24 1.1 christos function creates and initializes a PAM context.
25 1.1 christos .Pp
26 1.1 christos The
27 1.1 christos .Fa service
28 1.1 christos argument specifies the name of the policy to apply, and is
29 1.1 christos stored in the
30 1.1 christos .Dv PAM_SERVICE
31 1.1 christos item in the created context.
32 1.1 christos .Pp
33 1.1 christos The
34 1.1 christos .Fa user
35 1.1 christos argument specifies the name of the target user - the user the
36 1.1 christos created context will serve to authenticate.
37 1.1 christos It is stored in the
38 1.1 christos .Dv PAM_USER
39 1.1 christos item in the created context.
40 1.1 christos .Pp
41 1.1 christos The
42 1.1 christos .Fa pam_conv
43 1.1 christos argument points to a
44 1.1 christos .Vt struct pam_conv
45 1.1 christos describing the
46 1.1 christos conversation function to use; see
47 1.1 christos .Fa pam_conv
48 1.1 christos for details.
49 1.1 christos .Sh RETURN VALUES
50 1.1 christos The
51 1.3 christos .Fn pam_start
52 1.1 christos function returns one of the following values:
53 1.1 christos .Bl -tag -width 18n
54 1.1 christos .It Bq Er PAM_BUF_ERR
55 1.1 christos Memory buffer error.
56 1.1 christos .It Bq Er PAM_SYSTEM_ERR
57 1.1 christos System error.
58 1.1 christos .El
59 1.1 christos .Sh SEE ALSO
60 1.1 christos .Xr pam 3 ,
61 1.1 christos .Xr pam_end 3 ,
62 1.1 christos .Xr pam_get_item 3 ,
63 1.1 christos .Xr pam_set_item 3 ,
64 1.1 christos .Xr pam_strerror 3
65 1.1 christos .Sh STANDARDS
66 1.1 christos .Rs
67 1.1 christos .%T "X/Open Single Sign-On Service (XSSO) - Pluggable Authentication Modules"
68 1.1 christos .%D "June 1997"
69 1.1 christos .Re
70 1.1 christos .Sh AUTHORS
71 1.1 christos The
72 1.3 christos .Fn pam_start
73 1.3 christos function and this manual page were
74 1.3 christos developed for the
75 1.1 christos .Fx
76 1.3 christos Project by ThinkSec AS and Network Associates Laboratories, the
77 1.1 christos Security Research Division of Network Associates, Inc.\& under
78 1.1 christos DARPA/SPAWAR contract N66001-01-C-8035
79 1.1 christos .Pq Dq CBOSS ,
80 1.1 christos as part of the DARPA CHATS research program.
81 1.4 christos .Pp
82 1.4 christos The OpenPAM library is maintained by
83 1.4 christos .An Dag-Erling Sm\(/orgrav Aq des (a] des.no .
84