Lines Matching refs:krb5_ctx
166 struct krb5_ctx *krb5_ctx)
174 if (opts == NULL || dom == NULL || krb5_ctx == NULL) {
194 krb5_ctx->realm = talloc_strdup(krb5_ctx, realm);
195 if (krb5_ctx->realm == NULL) {
200 ret = check_lifetime(krb5_ctx, opts, KRB5_RENEWABLE_LIFETIME,
201 &krb5_ctx->rlife_str);
209 ret = check_lifetime(krb5_ctx, opts, KRB5_LIFETIME,
210 &krb5_ctx->lifetime_str);
218 krb5_ctx->use_fast_str = dp_opt_get_cstring(opts, KRB5_USE_FAST);
219 if (krb5_ctx->use_fast_str != NULL) {
220 ret = check_fast(krb5_ctx->use_fast_str, &krb5_ctx->use_fast);
226 if (krb5_ctx->use_fast) {
227 krb5_ctx->fast_principal = dp_opt_get_cstring(opts,
236 krb5_ctx->canonicalize = false;
239 krb5_ctx->canonicalize = true;
901 struct krb5_ctx *krb5_ctx)
907 if (krb5_ctx->service == NULL || krb5_ctx->service->name == NULL) {
912 ctx = talloc_zero(krb5_ctx, struct remove_info_files_ctx);
918 krb5_realm = dp_opt_get_cstring(krb5_ctx->opts, KRB5_REALM);
933 ctx->kdc_service_name = krb5_ctx->service->name;
934 if (krb5_ctx->kpasswd_service == NULL) {
937 ctx->kpasswd_service_name = krb5_ctx->kpasswd_service->name;
958 struct krb5_ctx *krb5_ctx)
966 krb5_realm = dp_opt_get_cstring(krb5_ctx->opts, KRB5_REALM);
972 sig_realm = talloc_strdup(krb5_ctx, krb5_realm);
978 sige = tevent_add_signal(ev, krb5_ctx, SIGTERM, SA_SIGINFO, krb5_finalize,
990 errno_t krb5_get_simple_upn(TALLOC_CTX *mem_ctx, struct krb5_ctx *krb5_ctx,
1016 realm = dp_opt_get_cstring(krb5_ctx->opts, KRB5_REALM);