diff options
author | Sumit Bose <sbose@redhat.com> | 2009-03-18 17:07:17 +0100 |
---|---|---|
committer | Simo Sorce <ssorce@redhat.com> | 2009-03-19 09:59:15 -0400 |
commit | 87323686e57db9a767ff5c2f0e1c56e9944d9f9a (patch) | |
tree | 82642e557c301054f0d1fd623763717c2a49485d /server/providers/proxy.c | |
parent | e2e17b7a75e65b2db2eb484f24ecde4f7aa5566b (diff) | |
download | sssd_unused-87323686e57db9a767ff5c2f0e1c56e9944d9f9a.tar.gz sssd_unused-87323686e57db9a767ff5c2f0e1c56e9944d9f9a.tar.xz sssd_unused-87323686e57db9a767ff5c2f0e1c56e9944d9f9a.zip |
use pam_data as main data structure for dbus communication
Diffstat (limited to 'server/providers/proxy.c')
-rw-r--r-- | server/providers/proxy.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/server/providers/proxy.c b/server/providers/proxy.c index 30f5f5c1..4b2ed7d6 100644 --- a/server/providers/proxy.c +++ b/server/providers/proxy.c @@ -111,11 +111,9 @@ static void proxy_pam_handler(struct be_req *req) { pam_handle_t *pamh=NULL; struct authtok_conv *auth_data; struct pam_conv conv; - struct be_pam_handler *ph; struct pam_data *pd; - ph = talloc_get_type(req->req_data, struct be_pam_handler); - pd = ph->pd; + pd = talloc_get_type(req->req_data, struct pam_data); conv.conv=proxy_internal_conv; auth_data = talloc_zero(req->be_ctx, struct authtok_conv); @@ -181,7 +179,7 @@ static void proxy_pam_handler(struct be_req *req) { talloc_free(auth_data); - ph->pam_status = pam_status; + pd->pam_status = pam_status; req->fn(req, EOK, NULL); } |