• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/samba-3.5.8/source4/heimdal/lib/krb5/

Lines Matching refs:opt

55 			      krb5_get_init_creds_opt **opt)
59 *opt = NULL;
75 *opt = o;
87 krb5_get_init_creds_opt *opt)
89 if (opt == NULL || opt->opt_private == NULL)
91 if (opt->opt_private->refcount < 1) /* abort ? */
93 if (--opt->opt_private->refcount == 0) {
94 _krb5_get_init_creds_opt_free_pkinit(opt);
95 free(opt->opt_private);
97 memset(opt, 0, sizeof(*opt));
98 free(opt);
144 * set all the values in `opt' to the appropriate values for
154 krb5_get_init_creds_opt *opt)
161 krb5_get_init_creds_opt_set_forwardable(opt, b);
165 krb5_get_init_creds_opt_set_proxiable (opt, b);
171 krb5_get_init_creds_opt_set_tkt_life(opt, t);
177 krb5_get_init_creds_opt_set_renew_life(opt, t);
181 krb5_get_init_creds_opt_set_addressless (context, opt, b);
185 krb5_get_init_creds_opt_set_anonymous (opt, b);
187 krb5_get_init_creds_opt_set_etype_list(opt, enctype,
190 krb5_get_init_creds_opt_set_salt(krb5_get_init_creds_opt *opt,
193 krb5_get_init_creds_opt_set_preauth_list(krb5_get_init_creds_opt *opt,
201 krb5_get_init_creds_opt_set_tkt_life(krb5_get_init_creds_opt *opt,
204 opt->flags |= KRB5_GET_INIT_CREDS_OPT_TKT_LIFE;
205 opt->tkt_life = tkt_life;
209 krb5_get_init_creds_opt_set_renew_life(krb5_get_init_creds_opt *opt,
212 opt->flags |= KRB5_GET_INIT_CREDS_OPT_RENEW_LIFE;
213 opt->renew_life = renew_life;
217 krb5_get_init_creds_opt_set_forwardable(krb5_get_init_creds_opt *opt,
220 opt->flags |= KRB5_GET_INIT_CREDS_OPT_FORWARDABLE;
221 opt->forwardable = forwardable;
225 krb5_get_init_creds_opt_set_proxiable(krb5_get_init_creds_opt *opt,
228 opt->flags |= KRB5_GET_INIT_CREDS_OPT_PROXIABLE;
229 opt->proxiable = proxiable;
233 krb5_get_init_creds_opt_set_etype_list(krb5_get_init_creds_opt *opt,
237 opt->flags |= KRB5_GET_INIT_CREDS_OPT_ETYPE_LIST;
238 opt->etype_list = etype_list;
239 opt->etype_list_length = etype_list_length;
243 krb5_get_init_creds_opt_set_address_list(krb5_get_init_creds_opt *opt,
246 opt->flags |= KRB5_GET_INIT_CREDS_OPT_ADDRESS_LIST;
247 opt->address_list = addresses;
251 krb5_get_init_creds_opt_set_preauth_list(krb5_get_init_creds_opt *opt,
255 opt->flags |= KRB5_GET_INIT_CREDS_OPT_PREAUTH_LIST;
256 opt->preauth_list_length = preauth_list_length;
257 opt->preauth_list = preauth_list;
261 krb5_get_init_creds_opt_set_salt(krb5_get_init_creds_opt *opt,
264 opt->flags |= KRB5_GET_INIT_CREDS_OPT_SALT;
265 opt->salt = salt;
269 krb5_get_init_creds_opt_set_anonymous(krb5_get_init_creds_opt *opt,
272 opt->flags |= KRB5_GET_INIT_CREDS_OPT_ANONYMOUS;
273 opt->anonymous = anonymous;
278 krb5_get_init_creds_opt *opt,
281 if (opt->opt_private == NULL) {
283 N_("%s on non extendable opt", ""), type);
291 krb5_get_init_creds_opt *opt,
296 ret = require_ext_opt(context, opt, "init_creds_opt_set_pa_password");
299 opt->opt_private->password = password;
300 opt->opt_private->key_proc = key_proc;
306 krb5_get_init_creds_opt *opt,
310 ret = require_ext_opt(context, opt, "init_creds_opt_set_pac_req");
313 opt->opt_private->req_pac = req_pac ?
321 krb5_get_init_creds_opt *opt,
325 ret = require_ext_opt(context, opt, "init_creds_opt_set_pac_req");
329 opt->opt_private->addressless = KRB5_INIT_CREDS_TRISTATE_TRUE;
331 opt->opt_private->addressless = KRB5_INIT_CREDS_TRISTATE_FALSE;
337 krb5_get_init_creds_opt *opt,
341 ret = require_ext_opt(context, opt, "init_creds_opt_set_canonicalize");
345 opt->opt_private->flags |= KRB5_INIT_CREDS_CANONICALIZE;
347 opt->opt_private->flags &= ~KRB5_INIT_CREDS_CANONICALIZE;
353 krb5_get_init_creds_opt *opt,
357 ret = require_ext_opt(context, opt, "init_creds_opt_set_win2k");
361 opt->opt_private->flags |= KRB5_INIT_CREDS_NO_C_CANON_CHECK;
363 opt->opt_private->flags &= ~KRB5_INIT_CREDS_NO_C_CANON_CHECK;
370 krb5_get_init_creds_opt *opt,
375 ret = require_ext_opt(context, opt, "init_creds_opt_set_win2k");
379 opt->opt_private->lr.func = func;
380 opt->opt_private->lr.ctx = ctx;
389 krb5_get_init_creds_opt_init(krb5_get_init_creds_opt *opt)
392 memset (opt, 0, sizeof(*opt));
404 krb5_get_init_creds_opt *opt,