xref: /netbsd-src/external/bsd/openpam/dist/doc/man/pam_sm_open_session.3 (revision 6a493d6bc668897c91594964a732d38505b70cbb)
1.\"	$NetBSD: pam_sm_open_session.3,v 1.4 2013/12/27 20:10:20 christos Exp $
2.\"
3.\" Generated from pam_sm_open_session.c by gendoc.pl
4.\" Id: pam_sm_open_session.c 648 2013-03-05 17:54:27Z des
5.Dd September 7, 2013
6.Dt PAM_SM_OPEN_SESSION 3
7.Os
8.Sh NAME
9.Nm pam_sm_open_session
10.Nd service module implementation for pam_open_session
11.Sh LIBRARY
12.Lb libpam
13.Sh SYNOPSIS
14.In sys/types.h
15.In security/pam_appl.h
16.In security/pam_modules.h
17.Ft "int"
18.Fn pam_sm_open_session "pam_handle_t *pamh" "int flags" "int argc" "const char **argv"
19.Sh DESCRIPTION
20The
21.Fn pam_sm_open_session
22function is the service module's
23implementation of the
24.Xr pam_open_session 3
25API function.
26.Sh RETURN VALUES
27The
28.Fn pam_sm_open_session
29function returns one of the following values:
30.Bl -tag -width 18n
31.It Bq Er PAM_ABORT
32General failure.
33.It Bq Er PAM_BUF_ERR
34Memory buffer error.
35.It Bq Er PAM_CONV_ERR
36Conversation failure.
37.It Bq Er PAM_IGNORE
38Ignore this module.
39.It Bq Er PAM_PERM_DENIED
40Permission denied.
41.It Bq Er PAM_SERVICE_ERR
42Error in service module.
43.It Bq Er PAM_SESSION_ERR
44Session failure.
45.It Bq Er PAM_SYSTEM_ERR
46System error.
47.El
48.Sh SEE ALSO
49.Xr pam 3 ,
50.Xr pam_open_session 3 ,
51.Xr pam_strerror 3
52.Sh STANDARDS
53.Rs
54.%T "X/Open Single Sign-On Service (XSSO) - Pluggable Authentication Modules"
55.%D "June 1997"
56.Re
57.Sh AUTHORS
58The
59.Fn pam_sm_open_session
60function and this manual page were
61developed for the
62.Fx
63Project by ThinkSec AS and Network Associates Laboratories, the
64Security Research Division of Network Associates, Inc.\& under
65DARPA/SPAWAR contract N66001-01-C-8035
66.Pq Dq CBOSS ,
67as part of the DARPA CHATS research program.
68.Pp
69The OpenPAM library is maintained by
70.An Dag-Erling Sm\(/orgrav Aq des@des.no .
71