summaryrefslogtreecommitdiffstats
path: root/src/providers/data_provider.h
diff options
context:
space:
mode:
authorSumit Bose <sbose@redhat.com>2014-06-24 18:29:20 +0200
committerJakub Hrozek <jhrozek@redhat.com>2014-09-01 13:56:57 +0200
commitcda952ca3e00d324c7e53eeaeda394eb0d142818 (patch)
treee9d127e731c8558e554adb576c4b7bc6b4d6e09c /src/providers/data_provider.h
parent25a387c2e90c74b27a26ea207503df8e4b6a1a76 (diff)
downloadsssd-cda952ca3e00d324c7e53eeaeda394eb0d142818.tar.gz
sssd-cda952ca3e00d324c7e53eeaeda394eb0d142818.tar.xz
sssd-cda952ca3e00d324c7e53eeaeda394eb0d142818.zip
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.
Diffstat (limited to 'src/providers/data_provider.h')
-rw-r--r--src/providers/data_provider.h1
1 files changed, 1 insertions, 0 deletions
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;