1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-26 10:04:02 +03:00

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)
This commit is contained in:
Andrew Bartlett 2007-08-22 05:32:52 +00:00 committed by Gerald (Jerry) Carter
parent 7aa29fd854
commit db24e606f1

View File

@ -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);
}