summaryrefslogtreecommitdiffstats
path: root/src/providers/dp_pam_data_util.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/providers/dp_pam_data_util.c')
-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);