Always set the ticket options, use KRB5_ADDRESSLESS_DEFAULT as the
default value, this make the unset tri-state not so useful. git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21711 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -225,9 +225,8 @@ krb5_get_init_creds_opt_set_default_flags(krb5_context context,
|
|||||||
krb5_get_init_creds_opt_set_renew_life(opt, t);
|
krb5_get_init_creds_opt_set_renew_life(opt, t);
|
||||||
|
|
||||||
krb5_appdefault_boolean(context, appname, realm, "no-addresses",
|
krb5_appdefault_boolean(context, appname, realm, "no-addresses",
|
||||||
FALSE, &b);
|
KRB5_ADDRESSLESS_DEFAULT, &b);
|
||||||
if (b)
|
krb5_get_init_creds_opt_set_addressless (context, opt, b);
|
||||||
krb5_get_init_creds_opt_set_addressless (context, opt, TRUE);
|
|
||||||
|
|
||||||
#if 0
|
#if 0
|
||||||
krb5_appdefault_boolean(context, appname, realm, "anonymous", FALSE, &b);
|
krb5_appdefault_boolean(context, appname, realm, "anonymous", FALSE, &b);
|
||||||
|
Reference in New Issue
Block a user