summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2005-08-25 05:00:52 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:34:34 -0500
commit8f5ac4a178f2bece1066715ecb85bb66758dfe82 (patch)
treefc04564f42df3fd8f37eeab56aacbe26d071b281 /source4
parent06973120a5e59539dc14a6e22854ca13ad5b3d79 (diff)
downloadsamba-8f5ac4a178f2bece1066715ecb85bb66758dfe82.tar.gz
samba-8f5ac4a178f2bece1066715ecb85bb66758dfe82.tar.bz2
samba-8f5ac4a178f2bece1066715ecb85bb66758dfe82.zip
r9608: don't validate the hard-coded sid for an external pac file
(This used to be commit 7e6957b906be760e7eb7e6ab6dbc86efeb0c42d2)
Diffstat (limited to 'source4')
-rw-r--r--source4/torture/auth/pac.c3
1 files changed, 2 insertions, 1 deletions
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);