svn commit: samba r9608 - in branches/SAMBA_4_0/source/torture/auth: .

tridge at samba.org tridge at samba.org
Thu Aug 25 05:00:52 GMT 2005


Author: tridge
Date: 2005-08-25 05:00:52 +0000 (Thu, 25 Aug 2005)
New Revision: 9608

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

Log:

don't validate the hard-coded sid for an external pac file

Modified:
   branches/SAMBA_4_0/source/torture/auth/pac.c


Changeset:
Modified: branches/SAMBA_4_0/source/torture/auth/pac.c
===================================================================
--- branches/SAMBA_4_0/source/torture/auth/pac.c	2005-08-25 04:52:11 UTC (rev 9607)
+++ branches/SAMBA_4_0/source/torture/auth/pac.c	2005-08-25 05:00:52 UTC (rev 9608)
@@ -390,7 +390,8 @@
 		return False;
 	}
 
-	if (!dom_sid_equal(dom_sid_parse_talloc(mem_ctx, "S-1-5-21-3048156945-3961193616-3706469200-1005"), 
+	if (!pac_file &&
+	    !dom_sid_equal(dom_sid_parse_talloc(mem_ctx, "S-1-5-21-3048156945-3961193616-3706469200-1005"), 
 			   server_info_out->account_sid)) {
 		krb5_free_keyblock_contents(smb_krb5_context->krb5_context, 
 					    &krbtgt_keyblock);



More information about the samba-cvs mailing list