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