summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source4/kdc/kpasswdd.c2
-rw-r--r--source4/rpc_server/samr/samr_password.c6
2 files changed, 4 insertions, 4 deletions
diff --git a/source4/kdc/kpasswdd.c b/source4/kdc/kpasswdd.c
index 9c02ac3465..6767f30c9d 100644
--- a/source4/kdc/kpasswdd.c
+++ b/source4/kdc/kpasswdd.c
@@ -377,7 +377,7 @@ static bool kpasswd_process_request(struct kdc_server *kdc,
status = samdb_set_password(samdb, mem_ctx,
set_password_on_dn, NULL,
&password, NULL, NULL,
- false, /* this is not a user password change */
+ NULL, NULL, /* this is not a user password change */
&reject_reason, &dominfo);
}
diff --git a/source4/rpc_server/samr/samr_password.c b/source4/rpc_server/samr/samr_password.c
index f7aa376501..d5d089d43c 100644
--- a/source4/rpc_server/samr/samr_password.c
+++ b/source4/rpc_server/samr/samr_password.c
@@ -501,7 +501,7 @@ NTSTATUS samr_set_password(struct dcesrv_call_state *dce_call,
account_dn, domain_dn,
&new_password,
NULL, NULL,
- false, /* This is a password set, not change */
+ NULL, NULL, /* This is a password set, not change */
NULL, NULL);
}
@@ -550,7 +550,7 @@ NTSTATUS samr_set_password_ex(struct dcesrv_call_state *dce_call,
account_dn, domain_dn,
&new_password,
NULL, NULL,
- false, /* This is a password set, not change */
+ NULL, NULL, /* This is a password set, not change */
NULL, NULL);
}
@@ -596,7 +596,7 @@ NTSTATUS samr_set_password_buffers(struct dcesrv_call_state *dce_call,
nt_status = samdb_set_password(sam_ctx, mem_ctx, account_dn,
domain_dn, NULL,
d_lm_pwd_hash, d_nt_pwd_hash,
- false, /* this is a password set */
+ NULL, NULL, /* this is a password set */
NULL, NULL);
}