krb5_error_code code;
if (!pkrb5_init_context)
- return 0;
+ return KRB5_CONFIG_CANTOPEN;
if ( alt_ctx ) {
ctx = alt_ctx;
char * dot;
if (!pkrb5_init_context)
- return 0;
+ return KRB5_CONFIG_CANTOPEN;
if ( IsDebuggerPresent() ) {
OutputDebugString("KFW_AFS_get_cred for token ");
char ** principals = NULL;
if (!pkrb5_init_context)
- return 0;
+ return KRB5_CONFIG_CANTOPEN;
if ( IsDebuggerPresent() ) {
OutputDebugString("KFW_AFS_destroy_tickets_for_cell: ");
krb5_ccache cc = NULL;
if (!pkrb5_init_context)
- return 0;
+ return KRB5_CONFIG_CANTOPEN;
if ( IsDebuggerPresent() ) {
OutputDebugString("KFW_AFS_destroy_tickets_for_user: ");
struct afsconf_cell cellconfig;
if (!pkrb5_init_context)
- return 0;
+ return KRB5_CONFIG_CANTOPEN;
if ( pcc_next == NULL ) // nothing to do
return 0;
char ** principals = NULL;
if (!pkrb5_init_context)
- return 0;
+ return KRB5_CONFIG_CANTOPEN;
if ( IsDebuggerPresent() ) {
OutputDebugString("KFW_AFS_renew_token_for_cell:");
krb5_data *realm = NULL;
if (!pkrb5_init_context)
- return 0;
+ return KRB5_CONFIG_CANTOPEN;
memset(&my_creds, 0, sizeof(krb5_creds));
int i = 0, addr_count = 0;
if (!pkrb5_init_context)
- return 0;
+ return KRB5_CONFIG_CANTOPEN;
pkrb5_get_init_creds_opt_init(&options);
memset(&my_creds, 0, sizeof(my_creds));
krb5_error_code code;
if (!pkrb5_init_context)
- return 0;
+ return KRB5_CONFIG_CANTOPEN;
if (alt_ctx)
{
}
if (!pkrb5_init_context)
- return 0;
+ return KRB5_CONFIG_CANTOPEN;
memset(&ak_cellconfig, 0, sizeof(ak_cellconfig));
memset(RealmName, '\0', sizeof(RealmName));
BOOL serverReachable = 0;
if (!pkrb5_init_context)
- return 0;
+ return KRB5_CONFIG_CANTOPEN;
code = pkrb5_init_context(&ctx);
if (code) goto cleanup;