git.samba.org
/
martins
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9e1ba90
)
torture krb5.kdc.canon: Correct principal being checked in TEST_AS_REQ_SELF stage
author
Andrew Bartlett
<abartlet@samba.org>
Sun, 2 Sep 2018 22:41:10 +0000
(10:41 +1200)
committer
Andrew Bartlett
<abartlet@samba.org>
Wed, 5 Sep 2018 09:42:26 +0000
(11:42 +0200)
We have already checked the client principal.
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
source4/torture/krb5/kdc-canon-heimdal.c
patch
|
blob
|
history
diff --git
a/source4/torture/krb5/kdc-canon-heimdal.c
b/source4/torture/krb5/kdc-canon-heimdal.c
index 848d0f8b09cad702c19d5fca8cfd77eb4d133853..30eca87cb52ae1eb4d378d8fdbd1a09a3c00e131 100644
(file)
--- a/
source4/torture/krb5/kdc-canon-heimdal.c
+++ b/
source4/torture/krb5/kdc-canon-heimdal.c
@@
-2451,7
+2451,7
@@
static bool torture_krb5_as_req_canon(struct torture_context *tctx, const void *
krb5_free_unparsed_name(k5_context, got_principal_string);
torture_assert(tctx, krb5_principal_compare(k5_context,
- my_creds.
client
, expected_principal),
+ my_creds.
server
, expected_principal),
assertion_message);
krb5_free_principal(k5_context, principal);