2 * pam_second.c -- PAM secondary authentication
3 * (based on XSSO draft spec of March 1997)
6 * $FreeBSD: src/contrib/libpam/libpam/pam_second.c,v 1.1.1.1.6.2 2001/06/11 15:28:12 markm Exp $
7 * $DragonFly: src/contrib/libpam/libpam/Attic/pam_second.c,v 1.2 2003/06/17 04:24:03 dillon Exp $
15 #include "pam_private.h"
19 int pam_authenticate_secondary(pam_handle_t *pamh,
20 char *target_username,
21 char *target_module_type,
22 char *target_authn_domain,
23 char *target_supp_data,
24 unsigned char *target_module_authtok,
27 int retval=PAM_SYSTEM_ERR;
31 _pam_start_timer(pamh); /* we try to make the time for a failure
32 independent of the time it takes to
35 IF_NO_PAMH("pam_authenticate_secondary",pamh,PAM_SYSTEM_ERR);
37 _pam_await_timer(pamh, retval); /* if unsuccessful then wait now */
39 D(("pam_authenticate_secondary exit"));