1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00

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

(This used to be commit 7e6957b906)
This commit is contained in:
Andrew Tridgell 2005-08-25 05:00:52 +00:00 committed by Gerald (Jerry) Carter
parent 06973120a5
commit 8f5ac4a178

View File

@ -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);