Lines Matching defs:options

186 	   krb5_get_init_creds_opt *options)
208 if (options->flags & KRB5_GET_INIT_CREDS_OPT_TKT_LIFE)
209 tmp = options->tkt_life;
214 if ((options->flags & KRB5_GET_INIT_CREDS_OPT_RENEW_LIFE) &&
215 options->renew_life > 0) {
216 cred->times.renew_till = now + options->renew_life;
250 * @param options An GIC options structure
256 krb5_get_init_creds_opt *options,
273 if (options && options->opt_private && options->opt_private->lr.func) {
290 (*options->opt_private->lr.func)(context, lre,
291 options->opt_private->lr.ctx);
350 krb5_get_init_creds_opt *options,
360 if (options == NULL) {
364 options = default_opt;
365 krb5_get_init_creds_opt_set_default_flags(context, NULL, realm, options);
368 if (options->opt_private) {
369 if (options->opt_private->password) {
371 options->opt_private->password);
376 ctx->keyproc = options->opt_private->key_proc;
377 ctx->req_pac = options->opt_private->req_pac;
378 ctx->pk_init_ctx = options->opt_private->pk_init_ctx;
379 ctx->ic_flags = options->opt_private->flags;
396 ret = init_cred(context, &ctx->cred, client, start_time, options);
407 if (options->flags & KRB5_GET_INIT_CREDS_OPT_FORWARDABLE)
408 ctx->flags.forwardable = options->forwardable;
410 if (options->flags & KRB5_GET_INIT_CREDS_OPT_PROXIABLE)
411 ctx->flags.proxiable = options->proxiable;
417 if (options->flags & KRB5_GET_INIT_CREDS_OPT_ADDRESS_LIST) {
418 ctx->addrs = options->address_list;
419 } else if (options->opt_private) {
420 switch (options->opt_private->addressless) {
436 if (options->flags & KRB5_GET_INIT_CREDS_OPT_ETYPE_LIST) {
440 etypes = malloc((options->etype_list_length + 1)
447 memcpy (etypes, options->etype_list,
448 options->etype_list_length * sizeof(krb5_enctype));
449 etypes[options->etype_list_length] = ETYPE_NULL;
452 if (options->flags & KRB5_GET_INIT_CREDS_OPT_PREAUTH_LIST) {
453 pre_auth_types = malloc((options->preauth_list_length + 1)
460 memcpy (pre_auth_types, options->preauth_list,
461 options->preauth_list_length * sizeof(krb5_preauthtype));
462 pre_auth_types[options->preauth_list_length] = KRB5_PADATA_NONE;
465 if (options->flags & KRB5_GET_INIT_CREDS_OPT_ANONYMOUS)
466 ctx->flags.request_anonymous = options->anonymous;
495 krb5_get_init_creds_opt *options;
499 ret = krb5_get_init_creds_opt_alloc(context, &options);
502 krb5_get_init_creds_opt_set_tkt_life (options, 60);
503 krb5_get_init_creds_opt_set_forwardable (options, FALSE);
504 krb5_get_init_creds_opt_set_proxiable (options, FALSE);
506 krb5_get_init_creds_opt_set_preauth_list (options,
521 options);
522 krb5_get_init_creds_opt_free(context, options);
1337 * @param options a options structure, can be NULL for default options.
1351 krb5_get_init_creds_opt *options,
1365 ret = get_init_creds_common(context, client, start_time, options, ctx);
1769 "options send by KDC", ""));
1968 krb5_get_init_creds_opt *options)
1976 ret = krb5_init_creds_init(context, client, prompter, data, start_time, options, &ctx);
2019 process_last_request(context, options, ctx);
2040 options);
2072 krb5_get_init_creds_opt *options)
2079 ret = krb5_init_creds_init(context, client, NULL, NULL, start_time, options, &ctx);
2094 process_last_request(context, options, ctx);
2119 krb5_get_init_creds_opt *options)
2126 ret = krb5_init_creds_init(context, client, NULL, NULL, start_time, options, &ctx);
2140 process_last_request(context, options, ctx);