From 8f5ac4a178f2bece1066715ecb85bb66758dfe82 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Thu, 25 Aug 2005 05:00:52 +0000 Subject: r9608: don't validate the hard-coded sid for an external pac file (This used to be commit 7e6957b906be760e7eb7e6ab6dbc86efeb0c42d2) --- source4/torture/auth/pac.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'source4/torture') diff --git a/source4/torture/auth/pac.c b/source4/torture/auth/pac.c index 38415ea3a3..d5d5d0abc7 100644 --- a/source4/torture/auth/pac.c +++ b/source4/torture/auth/pac.c @@ -390,7 +390,8 @@ static BOOL torture_pac_saved_check(void) 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); -- cgit