From 64af76e2bef2565caa9738f675c108a4b3789237 Mon Sep 17 00:00:00 2001 From: Simo Sorce Date: Thu, 18 Oct 2012 18:43:56 -0400 Subject: Change pam data auth tokens. Use the new authtok abstraction and interfaces throught the code. --- src/providers/data_provider.h | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'src/providers/data_provider.h') diff --git a/src/providers/data_provider.h b/src/providers/data_provider.h index f131e2c6..8e475d22 100644 --- a/src/providers/data_provider.h +++ b/src/providers/data_provider.h @@ -41,6 +41,7 @@ #include "sbus/sssd_dbus.h" #include "sbus/sbus_client.h" #include "sss_client/sss_cli.h" +#include "util/authtok.h" #define DATA_PROVIDER_VERSION 0x0001 #define DATA_PROVIDER_PIPE "private/sbus-dp" @@ -169,18 +170,14 @@ struct response_data { struct pam_data { int cmd; - uint32_t authtok_type; - uint32_t authtok_size; - uint32_t newauthtok_type; - uint32_t newauthtok_size; char *domain; char *user; char *service; char *tty; char *ruser; char *rhost; - uint8_t *authtok; - uint8_t *newauthtok; + struct sss_auth_token authtok; + struct sss_auth_token newauthtok; uint32_t cli_pid; int pam_status; -- cgit