From e3c1ad614514b735a402329b9eab9b20770d98c7 Mon Sep 17 00:00:00 2001 From: Johan Danielsson Date: Fri, 5 Jan 2001 16:27:39 +0000 Subject: [PATCH] not much point in setting the anonymous flag here git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9457 ec53bebd-3082-4978-b11e-865c3cabbd6b --- lib/krb5/init_creds.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/krb5/init_creds.c b/lib/krb5/init_creds.c index 2ae087b3e..10d5b0ce8 100644 --- a/lib/krb5/init_creds.c +++ b/lib/krb5/init_creds.c @@ -57,9 +57,6 @@ krb5_get_init_creds_opt_set_default_flags(krb5_context context, krb5_appdefault_boolean(context, appname, realm, "proxiable", FALSE, &b); krb5_get_init_creds_opt_set_proxiable (opt, b); - krb5_appdefault_boolean(context, appname, realm, "anonymous", FALSE, &b); - krb5_get_init_creds_opt_set_anonymous (opt, b); - krb5_appdefault_time(context, appname, realm, "ticket_life", 0, &t); if(t != 0) krb5_get_init_creds_opt_set_tkt_life(opt, t); @@ -69,6 +66,9 @@ krb5_get_init_creds_opt_set_default_flags(krb5_context context, krb5_get_init_creds_opt_set_renew_life(opt, t); #if 0 + krb5_appdefault_boolean(context, appname, realm, "anonymous", FALSE, &b); + krb5_get_init_creds_opt_set_anonymous (opt, b); + krb5_get_init_creds_opt_set_etype_list(opt, enctype, etype_str.num_strings);