]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - doc/man/pam_error.3
Vendor import of OpenPAM Radula.
[FreeBSD/FreeBSD.git] / doc / man / pam_error.3
1 .\" Generated from pam_error.c by gendoc.pl
2 .\" $Id: pam_error.c 648 2013-03-05 17:54:27Z des $
3 .Dd February 19, 2017
4 .Dt PAM_ERROR 3
5 .Os
6 .Sh NAME
7 .Nm pam_error
8 .Nd display an error message
9 .Sh SYNOPSIS
10 .In sys/types.h
11 .In security/pam_appl.h
12 .Ft "int"
13 .Fn pam_error "const pam_handle_t *pamh" "const char *fmt" "..."
14 .Sh DESCRIPTION
15 The
16 .Fn pam_error
17 function displays an error message through the
18 intermediary of the given PAM context's conversation function.
19 .Pp
20 .Sh RETURN VALUES
21 The
22 .Fn pam_error
23 function returns one of the following values:
24 .Bl -tag -width 18n
25 .It Bq Er PAM_BUF_ERR
26 Memory buffer error.
27 .It Bq Er PAM_CONV_ERR
28 Conversation failure.
29 .It Bq Er PAM_SYSTEM_ERR
30 System error.
31 .El
32 .Sh SEE ALSO
33 .Xr pam 3 ,
34 .Xr pam_info 3 ,
35 .Xr pam_prompt 3 ,
36 .Xr pam_strerror 3 ,
37 .Xr pam_verror 3
38 .Sh STANDARDS
39 The
40 .Fn pam_error
41 function is an OpenPAM extension.
42 .Sh AUTHORS
43 The
44 .Fn pam_error
45 function and this manual page were
46 developed for the
47 .Fx
48 Project by ThinkSec AS and Network Associates Laboratories, the
49 Security Research Division of Network Associates, Inc.\& under
50 DARPA/SPAWAR contract N66001-01-C-8035
51 .Pq Dq CBOSS ,
52 as part of the DARPA CHATS research program.
53 .Pp
54 The OpenPAM library is maintained by
55 .An Dag-Erling Sm\(/orgrav Aq Mt des@des.no .