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:
parent
7aa29fd854
commit
db24e606f1
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user