summaryrefslogtreecommitdiffstats
path: root/source4/kdc/kpasswdd.c
diff options
context:
space:
mode:
Diffstat (limited to 'source4/kdc/kpasswdd.c')
-rw-r--r--source4/kdc/kpasswdd.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/source4/kdc/kpasswdd.c b/source4/kdc/kpasswdd.c
index 2c91543013..dc717daa65 100644
--- a/source4/kdc/kpasswdd.c
+++ b/source4/kdc/kpasswdd.c
@@ -197,7 +197,6 @@ static BOOL kpasswdd_change_password(struct kdc_server *kdc,
session_info->security_token->user_sid,
password, NULL, NULL,
True, /* this is a user password change */
- True, /* run restriction tests */
&reject_reason,
&dominfo);
return kpasswd_make_pwchange_reply(kdc, mem_ctx,
@@ -362,7 +361,6 @@ static BOOL kpasswd_process_request(struct kdc_server *kdc,
set_password_on_dn, NULL,
msg, password, NULL, NULL,
False, /* this is not a user password change */
- True, /* run restriction tests */
&reject_reason, &dominfo);
}