• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.10.1/Heimdal-398.1.2/lib/krb5/

Lines Matching refs:opt

54 			      krb5_get_init_creds_opt **opt)
58 *opt = NULL;
74 *opt = o;
86 krb5_get_init_creds_opt *opt)
88 if (opt == NULL || opt->opt_private == NULL)
90 if (opt->opt_private->refcount < 1) /* abort ? */
92 if (--opt->opt_private->refcount == 0) {
93 _krb5_get_init_creds_opt_free_pkinit(opt);
94 free(opt->opt_private);
96 memset(opt, 0, sizeof(*opt));
97 free(opt);
144 * set all the values in `opt' to the appropriate values for
154 krb5_get_init_creds_opt *opt)
162 krb5_get_init_creds_opt_set_forwardable(opt, b);
166 krb5_get_init_creds_opt_set_proxiable (opt, b);
172 krb5_get_init_creds_opt_set_tkt_life(opt, t);
178 krb5_get_init_creds_opt_set_renew_life(opt, t);
182 krb5_get_init_creds_opt_set_addressless (context, opt, b);
186 krb5_get_init_creds_opt_set_anonymous (opt, b);
188 krb5_get_init_creds_opt_set_etype_list(opt, enctype,
191 krb5_get_init_creds_opt_set_salt(krb5_get_init_creds_opt *opt,
194 krb5_get_init_creds_opt_set_preauth_list(krb5_get_init_creds_opt *opt,
202 krb5_get_init_creds_opt_set_tkt_life(krb5_get_init_creds_opt *opt,
205 opt->flags |= KRB5_GET_INIT_CREDS_OPT_TKT_LIFE;
206 opt->tkt_life = tkt_life;
210 krb5_get_init_creds_opt_set_renew_life(krb5_get_init_creds_opt *opt,
213 opt->flags |= KRB5_GET_INIT_CREDS_OPT_RENEW_LIFE;
214 opt->renew_life = renew_life;
218 krb5_get_init_creds_opt_set_forwardable(krb5_get_init_creds_opt *opt,
221 opt->flags |= KRB5_GET_INIT_CREDS_OPT_FORWARDABLE;
222 opt->forwardable = forwardable;
226 krb5_get_init_creds_opt_set_proxiable(krb5_get_init_creds_opt *opt,
229 opt->flags |= KRB5_GET_INIT_CREDS_OPT_PROXIABLE;
230 opt->proxiable = proxiable;
234 krb5_get_init_creds_opt_set_etype_list(krb5_get_init_creds_opt *opt,
238 opt->flags |= KRB5_GET_INIT_CREDS_OPT_ETYPE_LIST;
239 opt->etype_list = etype_list;
240 opt->etype_list_length = etype_list_length;
244 krb5_get_init_creds_opt_set_address_list(krb5_get_init_creds_opt *opt,
247 opt->flags |= KRB5_GET_INIT_CREDS_OPT_ADDRESS_LIST;
248 opt->address_list = addresses;
252 krb5_get_init_creds_opt_set_preauth_list(krb5_get_init_creds_opt *opt,
256 opt->flags |= KRB5_GET_INIT_CREDS_OPT_PREAUTH_LIST;
257 opt->preauth_list_length = preauth_list_length;
258 opt->preauth_list = preauth_list;
262 krb5_get_init_creds_opt_set_salt(krb5_get_init_creds_opt *opt,
265 opt->flags |= KRB5_GET_INIT_CREDS_OPT_SALT;
266 opt->salt = salt;
270 krb5_get_init_creds_opt_set_anonymous(krb5_get_init_creds_opt *opt,
273 opt->flags |= KRB5_GET_INIT_CREDS_OPT_ANONYMOUS;
274 opt->anonymous = anonymous;
279 krb5_get_init_creds_opt *opt,
282 if (opt->opt_private == NULL) {
284 N_("%s on non extendable opt", ""), type);
292 krb5_get_init_creds_opt *opt,
297 ret = require_ext_opt(context, opt, "init_creds_opt_set_pa_password");
300 opt->opt_private->password = password;
301 opt->opt_private->key_proc = key_proc;
307 krb5_get_init_creds_opt *opt,
311 ret = require_ext_opt(context, opt, "init_creds_opt_set_pac_req");
314 opt->opt_private->req_pac = req_pac ?
322 krb5_get_init_creds_opt *opt,
326 ret = require_ext_opt(context, opt, "init_creds_opt_set_pac_req");
330 opt->opt_private->addressless = KRB5_INIT_CREDS_TRISTATE_TRUE;
332 opt->opt_private->addressless = KRB5_INIT_CREDS_TRISTATE_FALSE;
338 krb5_get_init_creds_opt *opt,
342 ret = require_ext_opt(context, opt, "init_creds_opt_set_canonicalize");
346 opt->opt_private->flags |= KRB5_INIT_CREDS_CANONICALIZE;
348 opt->opt_private->flags &= ~KRB5_INIT_CREDS_CANONICALIZE;
354 krb5_get_init_creds_opt *opt,
358 ret = require_ext_opt(context, opt, "init_creds_opt_set_win2k");
362 opt->opt_private->flags |= KRB5_INIT_CREDS_NO_C_CANON_CHECK;
363 opt->opt_private->flags |= KRB5_INIT_CREDS_NO_C_NO_EKU_CHECK;
365 opt->opt_private->flags &= ~KRB5_INIT_CREDS_NO_C_CANON_CHECK;
366 opt->opt_private->flags &= ~KRB5_INIT_CREDS_NO_C_NO_EKU_CHECK;
374 krb5_get_init_creds_opt *opt,
379 ret = require_ext_opt(context, opt, "init_creds_opt_set_win2k");
383 opt->opt_private->lr.func = func;
384 opt->opt_private->lr.ctx = ctx;
402 krb5_get_init_creds_opt_init(krb5_get_init_creds_opt *opt)
405 memset (opt, 0, sizeof(*opt));
417 krb5_get_init_creds_opt *opt,