From db24e606f10902de49891e32600403274ece16da Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Wed, 22 Aug 2007 05:32:52 +0000 Subject: r24613: Missed this in my recent commit -r 24611. We don't discriminate on where the password change came from, to determine if policy should be applied. We discriminate on if the account is a trust account. Andrew Bartlett (This used to be commit 48fd2889571b10a6057b9e271860e4951fc85c8b) --- source4/kdc/kpasswdd.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'source4/kdc') 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); } -- cgit