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