call krb5_get_init_creds_opt_set_default_flags
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10200 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (c) 1997 - 2000 Kungliga Tekniska H<>gskolan
|
* Copyright (c) 1997 - 2001 Kungliga Tekniska H<>gskolan
|
||||||
* (Royal Institute of Technology, Stockholm, Sweden).
|
* (Royal Institute of Technology, Stockholm, Sweden).
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
@@ -145,6 +145,13 @@ get_new_cache(krb5_context context,
|
|||||||
krb5_ccache id;
|
krb5_ccache id;
|
||||||
|
|
||||||
krb5_get_init_creds_opt_init (&opt);
|
krb5_get_init_creds_opt_init (&opt);
|
||||||
|
|
||||||
|
krb5_get_init_creds_opt_set_default_flags(context, "kadmin",
|
||||||
|
krb5_principal_get_realm(context,
|
||||||
|
client),
|
||||||
|
&opt);
|
||||||
|
|
||||||
|
|
||||||
krb5_get_init_creds_opt_set_forwardable (&opt, FALSE);
|
krb5_get_init_creds_opt_set_forwardable (&opt, FALSE);
|
||||||
krb5_get_init_creds_opt_set_proxiable (&opt, FALSE);
|
krb5_get_init_creds_opt_set_proxiable (&opt, FALSE);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user