git.samba.org
/
metze
/
heimdal
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3ada6dc
)
(kcm_op_retrieve): check server for krbtgt, not client
author
Love Hörnquist Åstrand
<lha@kth.se>
Mon, 30 May 2005 10:59:00 +0000
(10:59 +0000)
committer
Love Hörnquist Åstrand
<lha@kth.se>
Mon, 30 May 2005 10:59:00 +0000
(10:59 +0000)
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15299
ec53bebd
-3082-4978-b11e-
865c3cabbd6b
kcm/protocol.c
patch
|
blob
|
history
diff --git
a/kcm/protocol.c
b/kcm/protocol.c
index 89300a62385876dddf1eb96e681fa74d864fef14..1495ab937d2702cebce61e931f5779479dadb5fb 100644
(file)
--- a/
kcm/protocol.c
+++ b/
kcm/protocol.c
@@
-316,8
+316,8
@@
kcm_op_retrieve(krb5_context context,
}
if (disallow_getting_krbtgt &&
- mcreds.
client
->name.name_string.len == 2 &&
- strcmp(mcreds.
client
->name.name_string.val[0], KRB5_TGS_NAME) == 0)
+ mcreds.
server
->name.name_string.len == 2 &&
+ strcmp(mcreds.
server
->name.name_string.val[0], KRB5_TGS_NAME) == 0)
{
free(name);
krb5_free_creds_contents(context, &mcreds);