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