(get_init_creds_common): if the forwardable or proxiable flags are set

in options, set the kdc-flags to the value specified, and not always
to one


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@4973 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Johan Danielsson
1998-05-28 22:08:56 +00:00
parent c62e897e69
commit cc32e1c144

View File

@@ -229,14 +229,14 @@ get_init_creds_common(krb5_context context,
flags->i = 0;
if (options->flags & KRB5_GET_INIT_CREDS_OPT_FORWARDABLE)
flags->b.forwardable = 1;
flags->b.forwardable = options->forwardable;
else
flags->b.forwardable = get_config_bool (context,
*client_realm,
"forwardable");
if (options->flags & KRB5_GET_INIT_CREDS_OPT_PROXIABLE)
flags->b.proxiable = 1;
flags->b.proxiable = options->proxiable;
else
flags->b.proxiable = get_config_bool (context,
*client_realm,