svn commit: samba r24613 - in branches/SAMBA_4_0/source/kdc: .

abartlet at samba.org abartlet at samba.org
Wed Aug 22 05:32:52 GMT 2007


Author: abartlet
Date: 2007-08-22 05:32:52 +0000 (Wed, 22 Aug 2007)
New Revision: 24613

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=24613

Log:
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

Modified:
   branches/SAMBA_4_0/source/kdc/kpasswdd.c


Changeset:
Modified: branches/SAMBA_4_0/source/kdc/kpasswdd.c
===================================================================
--- branches/SAMBA_4_0/source/kdc/kpasswdd.c	2007-08-22 04:43:17 UTC (rev 24612)
+++ branches/SAMBA_4_0/source/kdc/kpasswdd.c	2007-08-22 05:32:52 UTC (rev 24613)
@@ -197,7 +197,6 @@
 					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 @@
 						    set_password_on_dn, NULL,
 						    msg, password, NULL, NULL, 
 						    False, /* this is not a user password change */
-						    True, /* run restriction tests */
 						    &reject_reason, &dominfo);
 		}
 



More information about the samba-cvs mailing list