Lines Matching refs:krb5_ctx
42 struct krb5_ctx *krb5_ctx;
57 qe->be_ctx, qe->pd, qe->krb5_ctx);
103 struct krb5_ctx *krb5_ctx)
111 if (krb5_ctx->wait_queue_hash == NULL) {
112 ret = sss_hash_create_ex(krb5_ctx, INIT_HASH_SIZE,
113 &krb5_ctx->wait_queue_hash, 0, 0, 0, 0,
124 ret = hash_lookup(krb5_ctx->wait_queue_hash, &key, &value);
143 queue_entry->krb5_ctx = krb5_ctx;
150 head = talloc_zero(krb5_ctx->wait_queue_hash, struct queue_entry);
157 ret = hash_enter(krb5_ctx->wait_queue_hash, &key, &value);
177 static void check_wait_queue(struct krb5_ctx *krb5_ctx, char *username)
186 if (krb5_ctx->wait_queue_hash == NULL) {
194 ret = hash_lookup(krb5_ctx->wait_queue_hash, &key, &value);
213 te = tevent_add_timer(queue_entry->be_ctx->ev, krb5_ctx,
223 ret = hash_delete(krb5_ctx->wait_queue_hash, &key);
243 struct krb5_ctx *krb5_ctx;
256 struct krb5_ctx *krb5_ctx)
268 state->krb5_ctx = krb5_ctx;
271 ret = add_to_wait_queue(be_ctx, req, pd, krb5_ctx);
287 subreq = krb5_auth_send(req, ev, be_ctx, pd, krb5_ctx);
317 check_wait_queue(state->krb5_ctx, state->pd->user);
342 check_wait_queue(state->krb5_ctx, state->pd->user);