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
11 .In security/pam_appl.h
12 .In security/openpam.h
14 .Fn openpam_restore_cred "pam_handle_t *pamh"
17 .Fn openpam_restore_cred
18 function restores the credentials saved by
19 .Xr openpam_borrow_cred 3 .
23 .Fn openpam_restore_cred
24 function returns one of the following values:
26 .It Bq Er PAM_NO_MODULE_DATA
27 Module data not found.
28 .It Bq Er PAM_SYSTEM_ERR
35 .Xr openpam_borrow_cred 3 ,
40 .Fn openpam_restore_cred
41 function is an OpenPAM extension.
44 .Fn openpam_restore_cred
45 function and this manual page were
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
52 as part of the DARPA CHATS research program.
54 The OpenPAM library is maintained by
55 .An Dag-Erling Sm\(/orgrav Aq Mt des@des.no .