1 .\" Generated from openpam_restore_cred.c by gendoc.pl
2 .\" $Id: openpam_restore_cred.c 648 2013-03-05 17:54:27Z des $
4 .Dt OPENPAM_RESTORE_CRED 3
7 .Nm openpam_restore_cred
8 .Nd restore credentials
13 .In security/pam_appl.h
14 .In security/openpam.h
16 .Fn openpam_restore_cred "pam_handle_t *pamh"
19 .Fn openpam_restore_cred
20 function restores the credentials saved by
21 .Xr openpam_borrow_cred 3 .
25 .Fn openpam_restore_cred
26 function returns one of the following values:
28 .It Bq Er PAM_NO_MODULE_DATA
29 Module data not found.
30 .It Bq Er PAM_SYSTEM_ERR
37 .Xr openpam_borrow_cred 3 ,
42 .Fn openpam_restore_cred
43 function is an OpenPAM extension.
46 .Fn openpam_restore_cred
47 function and this manual page were
50 Project by ThinkSec AS and Network Associates Laboratories, the
51 Security Research Division of Network Associates, Inc.\& under
52 DARPA/SPAWAR contract N66001-01-C-8035
54 as part of the DARPA CHATS research program.
56 The OpenPAM library is maintained by
57 .An Dag-Erling Sm\(/orgrav Aq des@des.no .