Home
last modified time | relevance | path

Searched refs:cred_handle (Results 1 – 19 of 19) sorted by relevance

/titanic_41/usr/src/lib/gss_mechs/mech_krb5/mech/
H A Dinq_cred.c77 krb5_gss_inquire_cred(minor_status, cred_handle, name, lifetime_ret, in krb5_gss_inquire_cred() argument
80 gss_cred_id_t cred_handle;
109 if (cred_handle == GSS_C_NO_CREDENTIAL) {
120 major = krb5_gss_validate_cred(minor_status, cred_handle);
125 cred = (krb5_gss_cred_id_t) cred_handle;
180 if (cred_handle == GSS_C_NO_CREDENTIAL)
205 if (cred_handle == GSS_C_NO_CREDENTIAL)
212 if (cred_handle == GSS_C_NO_CREDENTIAL) {
223 krb5_gss_inquire_cred_by_mech(minor_status, cred_handle, in krb5_gss_inquire_cred_by_mech() argument
227 gss_cred_id_t cred_handle;
[all …]
H A Drel_cred.c29 krb5_gss_release_cred(minor_status, cred_handle) in krb5_gss_release_cred() argument
31 gss_cred_id_t *cred_handle;
43 if (*cred_handle == GSS_C_NO_CREDENTIAL) {
49 if (! kg_delete_cred_id(*cred_handle)) {
55 cred = (krb5_gss_cred_id_t)*cred_handle;
95 *cred_handle = NULL;
H A Dcopy_ccache.c8 gss_krb5int_copy_ccache(minor_status, cred_handle, out_ccache) in gss_krb5int_copy_ccache() argument
10 gss_cred_id_t cred_handle;
21 stat = krb5_gss_validate_cred(minor_status, cred_handle);
25 k5creds = (krb5_gss_cred_id_t) cred_handle;
H A Dset_allowable_enctypes.c65 gss_cred_id_t cred_handle, in gss_krb5int_set_allowable_enctypes() argument
81 if (cred_handle == GSS_C_NO_CREDENTIAL) { in gss_krb5int_set_allowable_enctypes()
85 major_status = krb5_gss_validate_cred(&temp_status, cred_handle); in gss_krb5int_set_allowable_enctypes()
90 cred = (krb5_gss_cred_id_t) cred_handle; in gss_krb5int_set_allowable_enctypes()
H A Dkrb5_gss_glue.c832 k5glue_inquire_cred(ctx, minor_status, cred_handle, name, lifetime_ret, in k5glue_inquire_cred() argument
836 gss_cred_id_t cred_handle;
842 return(krb5_gss_inquire_cred(minor_status, cred_handle,
848 k5glue_inquire_cred_by_mech(ctx, minor_status, cred_handle, mech_type, name, in k5glue_inquire_cred_by_mech() argument
852 gss_cred_id_t cred_handle;
859 return(krb5_gss_inquire_cred_by_mech(minor_status, cred_handle,
902 k5glue_release_cred(ctx, minor_status, cred_handle) in k5glue_release_cred() argument
905 gss_cred_id_t *cred_handle;
907 return(krb5_gss_release_cred(minor_status, cred_handle));
1203 gss_cred_id_t cred_handle, in gss_krb5_copy_ccache() argument
[all …]
H A Daccept_sec_context.c313 gss_cred_id_t cred_handle = NULL; local
478 GSS_C_ACCEPT, &cred_handle,
495 cred_handle = verifier_cred_handle;
499 cred_handle);
516 cred = (krb5_gss_cred_id_t) cred_handle;
1188 if (!verifier_cred_handle && cred_handle) {
1189 krb5_gss_release_cred(minor_status, &cred_handle);
1295 if (!verifier_cred_handle && cred_handle) {
1296 krb5_gss_release_cred(&t_minor_status, &cred_handle);
H A Dinit_sec_context.c1668 get_default_cred(OM_uint32 *minor_status, void *ct, gss_cred_id_t *cred_handle) in get_default_cred() argument
1684 if (((major = kg_get_defcred(minor_status, cred_handle)) != NULL) && in get_default_cred()
1715 major = kg_get_defcred(minor_status, cred_handle); in get_default_cred()
1721 cred = (krb5_gss_cred_id_t)*cred_handle; in get_default_cred()
1725 (void) krb5_gss_release_cred(&mntmp, cred_handle); in get_default_cred()
1731 (void) krb5_gss_release_cred(&mntmp, cred_handle); in get_default_cred()
1747 major = kg_get_defcred(minor_status, cred_handle); in get_default_cred()
1754 (void) krb5_gss_release_cred(&mntmp, cred_handle); in get_default_cred()
1761 major = kg_get_defcred(minor_status, cred_handle); in get_default_cred()
/titanic_41/usr/src/uts/common/gssapi/mechs/krb5/mech/
H A Dval_cred.c37 krb5_gss_validate_cred_1(OM_uint32 *minor_status, gss_cred_id_t cred_handle, in krb5_gss_validate_cred_1() argument
44 if (!kg_validate_cred_id(cred_handle)) { in krb5_gss_validate_cred_1()
49 cred = (krb5_gss_cred_id_t) cred_handle; in krb5_gss_validate_cred_1()
75 krb5_gss_validate_cred(minor_status, cred_handle) in krb5_gss_validate_cred() argument
77 gss_cred_id_t cred_handle;
89 maj = krb5_gss_validate_cred_1(minor_status, cred_handle, context);
91 krb5_gss_cred_id_t cred = (krb5_gss_cred_id_t) cred_handle;
/titanic_41/usr/src/lib/libgss/
H A Dg_rel_cred.c38 cred_handle) in gss_release_cred() argument
41 gss_cred_id_t *cred_handle;
54 if (cred_handle == NULL)
63 union_cred = (gss_union_cred_t)*cred_handle;
70 *cred_handle = NULL;
H A Dg_inquire_cred.c38 cred_handle, in gss_inquire_cred() argument
45 const gss_cred_id_t cred_handle;
73 if (cred_handle == GSS_C_NO_CREDENTIAL) {
122 union_cred = (gss_union_cred_t)cred_handle;
215 gss_inquire_cred_by_mech(minor_status, cred_handle, mech_type, name, in gss_inquire_cred_by_mech() argument
218 const gss_cred_id_t cred_handle;
246 union_cred = (gss_union_cred_t)cred_handle;
/titanic_41/usr/src/uts/common/gssapi/
H A Dgssd_clnt_stubs.c511 cred_handle, in kgss_release_cred_wrapped() argument
515 gssd_cred_id_t *cred_handle;
538 if (cred_handle != NULL) {
539 arg.cred_handle.GSS_CRED_ID_T_len =
541 arg.cred_handle.GSS_CRED_ID_T_val = (char *)cred_handle;
543 arg.cred_handle.GSS_CRED_ID_T_len = 0;
557 if (cred_handle != NULL)
558 *cred_handle = NULL;
567 if (res.status == GSS_S_COMPLETE && cred_handle != NULL)
568 *cred_handle = NULL;
[all …]
H A Dgssd.x122 GSS_CRED_ID_T cred_handle; /* credential handle */ member
321 GSS_CRED_ID_T cred_handle; /* credential handle */ member
337 GSS_CRED_ID_T cred_handle; /* credential handle */ member
/titanic_41/usr/src/cmd/gss/gssd/
H A Dgssd_clnt_stubs.c468 cred_handle, in kgss_release_cred_wrapped() argument
472 gssd_cred_id_t *cred_handle;
492 if (cred_handle != NULL) {
493 arg.cred_handle.GSS_CRED_ID_T_len =
495 arg.cred_handle.GSS_CRED_ID_T_val = (char *)cred_handle;
497 arg.cred_handle.GSS_CRED_ID_T_len = 0;
511 if (cred_handle != NULL)
512 *cred_handle = NULL;
518 if (res.status == GSS_S_COMPLETE && cred_handle != NULL)
519 *cred_handle = NULL;
[all …]
H A Dgssd_proc.c773 gss_cred_id_t cred_handle; local
803 if (argp->cred_handle.GSS_CRED_ID_T_len == 0)
804 cred_handle = GSS_C_NO_CREDENTIAL;
806 cred_handle =
807 (gss_cred_id_t)argp->cred_handle.GSS_CRED_ID_T_val;
812 &cred_handle);
2216 gss_cred_id_t cred_handle; local
2257 cred_handle = (argp->cred_handle.GSS_CRED_ID_T_len == 0 ?
2260 *((gss_cred_id_t *)argp->cred_handle.
2266 cred_handle,
[all …]
/titanic_41/usr/src/lib/gss_mechs/mech_dummy/mech/
H A Ddmech.c232 dummy_gss_release_cred(ctx, minor_status, cred_handle) in dummy_gss_release_cred() argument
235 gss_cred_id_t *cred_handle;
239 free_dummy_token((dummy_token_t *)(cred_handle));
240 *cred_handle = NULL;
900 dummy_gss_inquire_cred(ctx, minor_status, cred_handle, name, lifetime_ret, in dummy_gss_inquire_cred() argument
904 gss_cred_id_t cred_handle;
1017 dummy_gss_inquire_cred_by_mech(ctx, minor_status, cred_handle, in dummy_gss_inquire_cred_by_mech() argument
1022 gss_cred_id_t cred_handle;
/titanic_41/usr/src/uts/common/gssapi/mechs/krb5/include/
H A Dgssapi_krb5.h180 gss_cred_id_t cred_handle,
H A DgssapiP_krb5.h730 gss_cred_id_t cred_handle,
/titanic_41/usr/src/lib/smbsrv/libsmbns/common/
H A Dsmbns_dyndns.c1015 dyndns_establish_sec_ctx(gss_ctx_id_t *gss_context, gss_cred_id_t cred_handle, in dyndns_establish_sec_ctx() argument
1052 maj = gss_init_sec_context(&min, cred_handle, gss_context, in dyndns_establish_sec_ctx()
1157 gss_cred_id_t cred_handle; in dyndns_get_sec_context() local
1162 cred_handle = GSS_C_NO_CREDENTIAL; in dyndns_get_sec_context()
1174 if (dyndns_establish_sec_ctx(&gss_context, cred_handle, s, key_name, in dyndns_get_sec_context()
/titanic_41/usr/src/lib/gss_mechs/mech_spnego/mech/
H A Dspnego_mech.c425 gss_cred_id_t *cred_handle) in glue_spnego_gss_release_cred() argument
427 return( spnego_gss_release_cred(minor_status, cred_handle)); in glue_spnego_gss_release_cred()
433 gss_cred_id_t *cred_handle) in spnego_gss_release_cred() argument
439 if (minor_status == NULL || cred_handle == NULL) in spnego_gss_release_cred()
444 if (*cred_handle == GSS_C_NO_CREDENTIAL) in spnego_gss_release_cred()
447 status = gss_release_cred(minor_status, cred_handle); in spnego_gss_release_cred()