version 1.12.2.1, 2004/02/28 03:51:32 |
version 1.13, 2003/09/23 20:17:11 |
|
|
krb5_error_code problem; |
krb5_error_code problem; |
krb5_ccache ccache = NULL; |
krb5_ccache ccache = NULL; |
|
|
if (!authctxt->valid) |
if (authctxt->pw == NULL) |
return (0); |
return (0); |
|
|
temporarily_use_uid(authctxt->pw); |
temporarily_use_uid(authctxt->pw); |
|
|
if (problem) |
if (problem) |
goto out; |
goto out; |
|
|
problem = krb5_cc_initialize(authctxt->krb5_ctx, ccache, |
problem = krb5_cc_initialize(authctxt->krb5_ctx, ccache, |
authctxt->krb5_user); |
authctxt->krb5_user); |
if (problem) |
if (problem) |
goto out; |
goto out; |
|
|
if (problem) |
if (problem) |
goto out; |
goto out; |
|
|
problem = krb5_cc_gen_new(authctxt->krb5_ctx, &krb5_fcc_ops, |
problem = krb5_cc_gen_new(authctxt->krb5_ctx, &krb5_fcc_ops, |
&authctxt->krb5_fwd_ccache); |
&authctxt->krb5_fwd_ccache); |
if (problem) |
if (problem) |
goto out; |
goto out; |