anonymous doesn't require service name change

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24615 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Love Hörnquist Åstrand
2009-02-04 22:10:21 +00:00
parent a41a93379a
commit 2a3d7edf56

View File

@@ -1512,8 +1512,6 @@ krb5_init_creds_step(krb5_context context,
krb5_keyblock *key = NULL;
unsigned eflags = EXTRACT_TICKET_AS_REQ;
if (ctx->flags.request_anonymous)
eflags |= EXTRACT_TICKET_ALLOW_SERVER_MISMATCH;
if (ctx->flags.canonicalize) {
eflags |= EXTRACT_TICKET_ALLOW_SERVER_MISMATCH;
eflags |= EXTRACT_TICKET_MATCH_REALM;