summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
Diffstat (limited to 'source4')
-rw-r--r--source4/auth/auth_sam.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/auth/auth_sam.c b/source4/auth/auth_sam.c
index a30f7bc6b9..280c57ea56 100644
--- a/source4/auth/auth_sam.c
+++ b/source4/auth/auth_sam.c
@@ -395,7 +395,7 @@ static NTSTATUS check_sam_security(const struct auth_context *auth_context,
(*server_info)->allow_password_change
= samdb_result_allow_password_change(sam_ctx, mem_ctx,
domain_dn, msgs[0], "pwdLastSet");
- (*server_info)->allow_password_change
+ (*server_info)->force_password_change
= samdb_result_force_password_change(sam_ctx, mem_ctx,
domain_dn, msgs[0], "pwdLastSet");