summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 5c06a81ba..7aca559fe 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);