From aab3633ea839c7070a4fd3238bd0c9e51ea68f5e Mon Sep 17 00:00:00 2001 From: Assar Westerlund Date: Fri, 28 Jan 2000 03:20:18 +0000 Subject: [PATCH] (get_new_cache): make sure to request non-forwardable, non-proxiable git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7833 ec53bebd-3082-4978-b11e-865c3cabbd6b --- lib/kadm5/init_c.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lib/kadm5/init_c.c b/lib/kadm5/init_c.c index 889254371..b109bbe00 100644 --- a/lib/kadm5/init_c.c +++ b/lib/kadm5/init_c.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 1998, 1999 Kungliga Tekniska Högskolan + * Copyright (c) 1997 - 2000 Kungliga Tekniska Högskolan * (Royal Institute of Technology, Stockholm, Sweden). * All rights reserved. * @@ -145,6 +145,9 @@ get_new_cache(krb5_context context, krb5_ccache id; krb5_get_init_creds_opt_init (&opt); + krb5_get_init_creds_opt_set_forwardable (&opt, FALSE); + krb5_get_init_creds_opt_set_proxiable (&opt, FALSE); + if(password == NULL && prompter == NULL) { krb5_keytab kt; if(keytab == NULL)