summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2007-08-22 05:32:52 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 15:02:24 -0500
commitdb24e606f10902de49891e32600403274ece16da (patch)
tree9d93021e5265eeeebf4f58d1fe16d963f7af5764
parent7aa29fd85432d4212d963665ceb02e9614f7aec0 (diff)
downloadsamba-db24e606f10902de49891e32600403274ece16da.tar.gz
samba-db24e606f10902de49891e32600403274ece16da.tar.bz2
samba-db24e606f10902de49891e32600403274ece16da.zip
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)
-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);
}