summaryrefslogtreecommitdiff
path: root/src/providers
diff options
context:
space:
mode:
authorJan Zeleny <jzeleny@redhat.com>2011-05-17 04:23:26 -0400
committerStephen Gallagher <sgallagh@redhat.com>2011-05-20 05:42:00 -0400
commit217d7e26345fb5f7e296551b62a4c1d82c9d9585 (patch)
tree59b29c0beb37b6c6b51a9ba6ab870045241e42ef /src/providers
parentc1e843e07dc2cc8156b7a669add88f4a215f9ca4 (diff)
downloadsssd-217d7e26345fb5f7e296551b62a4c1d82c9d9585.tar.gz
sssd-217d7e26345fb5f7e296551b62a4c1d82c9d9585.tar.bz2
sssd-217d7e26345fb5f7e296551b62a4c1d82c9d9585.zip
Fixed copying of pam_data structure
Related ticket: https://fedorahosted.org/sssd/ticket/855
Diffstat (limited to 'src/providers')
-rw-r--r--src/providers/dp_pam_data_util.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/providers/dp_pam_data_util.c b/src/providers/dp_pam_data_util.c
index 5c06a81b..7aca559f 100644
--- a/src/providers/dp_pam_data_util.c
+++ b/src/providers/dp_pam_data_util.c
@@ -114,6 +114,7 @@ errno_t copy_pam_data(TALLOC_CTX *mem_ctx, struct pam_data *old_pd,
pd->authtok_size = old_pd->authtok_size;
pd->newauthtok_type = old_pd->newauthtok_type;
pd->newauthtok_size = old_pd->newauthtok_size;
+ pd->priv = old_pd->priv;
PD_STR_COPY(domain);
PD_STR_COPY(user);