From cda952ca3e00d324c7e53eeaeda394eb0d142818 Mon Sep 17 00:00:00 2001 From: Sumit Bose Date: Tue, 24 Jun 2014 18:29:20 +0200 Subject: PAM: extract checks from parsing routines This patch saves the original name given at a login prompt and send to the PAM responder in the logon_name member of the pam_data struct for later use. Additionally it separates the parsing of the data send by the PAM client and the checks of this data. --- src/providers/data_provider.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/providers/data_provider.h') diff --git a/src/providers/data_provider.h b/src/providers/data_provider.h index 9af13627c..742fcca57 100644 --- a/src/providers/data_provider.h +++ b/src/providers/data_provider.h @@ -175,6 +175,7 @@ struct pam_data { struct sss_auth_token *authtok; struct sss_auth_token *newauthtok; uint32_t cli_pid; + char *logon_name; int pam_status; int response_delay; -- cgit