Lines Matching refs:ss
162 krb5ssp_get_tkt(krb5ssp_state_t *ss, char *server,
165 krb5_context kctx = ss->ss_krb5ctx;
166 krb5_ccache kcc = ss->ss_krb5cc;
187 kerr = krb5_auth_con_init(kctx, &ss->ss_auth);
193 ss->ss_auth->req_cksumtype = CKSUM_TYPE_RFC4121;
209 kerr = krb5_mk_req(kctx, &ss->ss_auth, rq_opts, "cifs", server,
254 krb5ssp_state_t *ss = sp->sp_private;
261 if ((err = krb5ssp_get_tkt(ss, prin, &tkt, &tktlen)) != 0)
290 krb5ssp_state_t *ss = sp->sp_private;
349 rc = krb5_rd_rep(ss->ss_krb5ctx, ss->ss_auth, &ap, &reply);
367 krb5_free_ap_rep_enc_part(ss->ss_krb5ctx, reply);
384 krb5ssp_state_t *ss = sp->sp_private;
393 ss->ss_krb5ctx, ss->ss_auth, &ssn_key);
430 krb5_free_keyblock(ss->ss_krb5ctx, ssn_key);
474 krb5ssp_state_t *ss;
477 ss = sp->sp_private;
478 if (ss == NULL)
482 if ((kctx = ss->ss_krb5ctx) != NULL) {
484 if (ss->ss_auth)
485 (void) krb5_auth_con_free(kctx, ss->ss_auth);
487 if (ss->ss_krb5clp)
488 krb5_free_principal(kctx, ss->ss_krb5clp);
489 if (ss->ss_krb5cc)
490 (void) krb5_cc_close(kctx, ss->ss_krb5cc);
494 free(ss);
508 krb5ssp_state_t *ss;
519 ss = calloc(1, sizeof (*ss));
520 if (ss == NULL)
525 sp->sp_private = ss;
532 ss->ss_krb5ctx = kctx;
540 ss->ss_krb5cc = kcc;
551 ss->ss_krb5clp = kprin;