Home
last modified time | relevance | path

Searched refs:major_status (Results 1 – 22 of 22) sorted by relevance

/illumos-gate/usr/src/lib/libgss/
H A Dg_store_cred.c97 OM_uint32 major_status = GSS_S_FAILURE; local
104 major_status = val_store_cred_args(minor_status,
112 if (major_status != GSS_S_COMPLETE)
113 return (major_status);
116 major_status = GSS_S_FAILURE;
130 return (major_status);
136 major_status = mech->gss_store_cred(mech->context,
145 if (major_status != GSS_S_COMPLETE)
147 return major_status;
168 major_status = mech->gss_store_cred(mech->context,
[all …]
H A Dg_dup_name.c75 OM_uint32 major_status = GSS_S_FAILURE; in gss_duplicate_name() local
77 major_status = val_dup_name_args(minor_status, src_name, dest_name); in gss_duplicate_name()
78 if (major_status != GSS_S_COMPLETE) in gss_duplicate_name()
79 return (major_status); in gss_duplicate_name()
81 major_status = GSS_S_FAILURE; in gss_duplicate_name()
104 major_status = generic_gss_copy_oid(minor_status, in gss_duplicate_name()
106 if (major_status != GSS_S_COMPLETE) { in gss_duplicate_name()
116 major_status = generic_gss_copy_oid(minor_status, in gss_duplicate_name()
118 if (major_status != GSS_S_COMPLETE) { in gss_duplicate_name()
123 major_status = __gss_import_internal_name(minor_status, in gss_duplicate_name()
[all …]
H A Dg_compare_name.c73 OM_uint32 major_status, temp_minor; local
78 major_status = val_comp_name_args(minor_status,
80 if (major_status != GSS_S_COMPLETE)
81 return (major_status);
123 major_status = mech->gss_compare_name(mech->context,
128 if (major_status != GSS_S_COMPLETE)
130 return major_status;
193 major_status = __gss_import_internal_name(minor_status,
197 if (major_status != GSS_S_COMPLETE)
204 major_status = mech->gss_compare_name(mech->context, minor_status,
[all …]
H A Dg_canon_name.c84 OM_uint32 major_status = GSS_S_FAILURE; local
88 major_status = val_canon_name_args(minor_status,
92 if (major_status != GSS_S_COMPLETE)
93 return (major_status);
96 major_status = GSS_S_FAILURE;
125 major_status = generic_gss_copy_oid(minor_status,
128 if (major_status) {
153 if (major_status = generic_gss_copy_oid(minor_status, mech_type,
159 if (major_status =
205 return (major_status);
H A Dg_imp_name.c89 OM_uint32 major_status = GSS_S_FAILURE, tmp; local
91 major_status = val_imp_name_args(minor_status,
94 if (major_status != GSS_S_COMPLETE)
95 return (major_status);
117 major_status = gssint_create_copy_buffer(input_name_buffer,
119 if (major_status != GSS_S_COMPLETE) {
121 return (major_status);
125 major_status = generic_gss_copy_oid(minor_status,
128 if (major_status != GSS_S_COMPLETE) {
145 major_status = importExportName(minor_status, union_name);
[all …]
H A Dg_dsp_name.c85 OM_uint32 major_status; local
88 major_status = val_dsp_name_args(minor_status, input_name,
90 if (major_status != GSS_S_COMPLETE)
91 return (major_status);
113 major_status = generic_gss_copy_oid(minor_status,
116 if (major_status != GSS_S_COMPLETE) {
118 return (major_status);
H A Dg_seal.c166 OM_uint32 major_status; local
190 major_status = mech->gss_wrap_size_limit(mech->context,
197 major_status = GSS_S_UNAVAILABLE;
198 if (major_status != GSS_S_COMPLETE)
200 return major_status;
H A Dg_glue.c554 OM_uint32 major_status,tmp; local
559 major_status = GSS_S_FAILURE;
569 major_status = generic_gss_copy_oid(minor_status, &mech->mech_type,
571 if (major_status != GSS_S_COMPLETE) {
579 major_status = GSS_S_FAILURE;
587 major_status = mech->gss_display_name(
593 if (major_status != GSS_S_COMPLETE) {
622 return (major_status);
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/mech/
H A Daccept_sec_context.c311 OM_uint32 major_status = GSS_S_FAILURE; local
373 major_status = GSS_S_NO_CONTEXT;
409 major_status = GSS_S_CONTINUE_NEEDED;
420 major_status = GSS_S_DEFECTIVE_TOKEN;
467 major_status = GSS_S_FAILURE;
473 major_status = GSS_S_FAILURE;
476 major_status = krb5_gss_acquire_cred((OM_uint32*) &code,
482 if (major_status != GSS_S_COMPLETE){
489 major_status);
491 major_status = GSS_S_NO_CRED;
[all …]
H A Dinq_context.c211 OM_uint32 major_status, minor; in gss_krb5int_inq_session_key() local
221 major_status = generic_gss_add_buffer_set_member(minor_status, &keyvalue, data_set); in gss_krb5int_inq_session_key()
222 if (GSS_ERROR(major_status)) in gss_krb5int_inq_session_key()
228 major_status = generic_gss_oid_compose(minor_status, in gss_krb5int_inq_session_key()
233 if (GSS_ERROR(major_status)) in gss_krb5int_inq_session_key()
239 major_status = generic_gss_add_buffer_set_member(minor_status, &keyinfo, data_set); in gss_krb5int_inq_session_key()
240 if (GSS_ERROR(major_status)) in gss_krb5int_inq_session_key()
252 return major_status; in gss_krb5int_inq_session_key()
263 OM_uint32 major_status; in gss_krb5int_extract_authz_data_from_sec_context() local
273 major_status = generic_gss_oid_decompose(minor_status, in gss_krb5int_extract_authz_data_from_sec_context()
[all …]
H A Dset_allowable_enctypes.c69 OM_uint32 major_status; in gss_krb5int_set_allowable_enctypes() local
76 major_status = GSS_S_FAILURE; in gss_krb5int_set_allowable_enctypes()
83 major_status = krb5_gss_validate_cred(&temp_status, cred_handle); in gss_krb5int_set_allowable_enctypes()
84 if (GSS_ERROR(major_status)) { in gss_krb5int_set_allowable_enctypes()
132 return(major_status); in gss_krb5int_set_allowable_enctypes()
H A Dinit_sec_context.c481 OM_uint32 major_status; in new_connection() local
489 major_status = GSS_S_FAILURE; in new_connection()
584 major_status = GSS_S_NO_CRED; in new_connection()
586 major_status = GSS_S_CREDENTIALS_EXPIRED; in new_connection()
597 major_status = setup_enc(minor_status, ctx, context); in new_connection()
663 return (major_status); in new_connection()
687 OM_uint32 major_status; in mutual_auth() local
698 major_status = GSS_S_FAILURE; in mutual_auth()
744 major_status = GSS_S_BAD_NAME; in mutual_auth()
754 major_status = GSS_S_DEFECTIVE_TOKEN; in mutual_auth()
[all …]
H A Dadd_cred.c86 OM_uint32 major_status, lifetime; local
126 major_status = krb5_gss_validate_cred_1(minor_status, input_cred_handle,
128 if (GSS_ERROR(major_status)) {
131 return major_status;
372 if (GSS_ERROR(major_status = krb5_gss_inquire_cred(minor_status,
382 return(major_status);
H A Dkrb5_gss_glue.c1313 OM_uint32 major_status; in gsskrb5_extract_authz_data_from_sec_context() local
1322 major_status = generic_gss_oid_compose(minor_status, in gsskrb5_extract_authz_data_from_sec_context()
1327 if (GSS_ERROR(major_status)) in gsskrb5_extract_authz_data_from_sec_context()
1328 return major_status; in gsskrb5_extract_authz_data_from_sec_context()
1330 major_status = gss_inquire_sec_context_by_oid(minor_status, in gsskrb5_extract_authz_data_from_sec_context()
1334 if (major_status != GSS_S_COMPLETE) { in gsskrb5_extract_authz_data_from_sec_context()
1335 return major_status; in gsskrb5_extract_authz_data_from_sec_context()
1371 OM_uint32 major_status; in gsskrb5_extract_authtime_from_sec_context() local
1377 major_status = gss_inquire_sec_context_by_oid(minor_status, in gsskrb5_extract_authtime_from_sec_context()
1381 if (major_status != GSS_S_COMPLETE) in gsskrb5_extract_authtime_from_sec_context()
[all …]
/illumos-gate/usr/src/lib/gss_mechs/mech_spnego/mech/
H A Dspnego_mech.c1163 OM_uint32 major_status; in make_NegHints() local
1173 major_status = gss_inquire_cred(minor_status, in make_NegHints()
1179 if (major_status != GSS_S_COMPLETE) in make_NegHints()
1180 return (major_status); in make_NegHints()
1206 major_status = gss_import_name(minor_status, in make_NegHints()
1210 if (major_status != GSS_S_COMPLETE) { in make_NegHints()
1211 return (major_status); in make_NegHints()
1218 major_status = gss_canonicalize_name(minor_status, in make_NegHints()
1222 if (major_status != GSS_S_COMPLETE) { in make_NegHints()
1224 return (major_status); in make_NegHints()
[all …]
/illumos-gate/usr/src/uts/common/gssapi/
H A Dgss_import_name.c43 OM_uint32 major_status = GSS_S_FAILURE; in gss_import_name() local
144 return (major_status); in gss_import_name()
/illumos-gate/usr/src/cmd/fs.d/nfs/tests/rpcsec_gss_conn/
H A Drpcsec_gss_conn.c105 if (!GSS_ERROR(opt_ret.major_status)) { in main()
112 opt_ret.major_status, GSS_C_GSS_CODE, in main()
/illumos-gate/usr/src/lib/rpcsec_gss/
H A Drpcsec_gss.c123 options_ret->major_status = 0;
150 options_ret->major_status = gssstat;
198 options_ret->major_status = gssstat;
227 options_ret->major_status = gssstat;
/illumos-gate/usr/src/cmd/krb5/kadmin/server/
H A Dovsec_kadmd.c413 OM_uint32 OMret, major_status, minor_status; in main() local
461 major_status = gss_str_to_oid(&minor_status, &gssbuf, &nt_krb5_name_oid); in main()
462 if (major_status != GSS_S_COMPLETE) { in main()
465 display_status("str_to_oid", major_status, minor_status); in main()
/illumos-gate/usr/src/uts/common/rpc/
H A Drpcsec_gss.h84 int major_status; member
/illumos-gate/usr/src/uts/common/rpc/sec_gss/
H A Drpcsec_gss.c452 options_ret->major_status = 0; in rpc_gss_seccreate()
463 options_ret->major_status = gssstat; in rpc_gss_seccreate()
512 options_ret->major_status = gssstat; in rpc_gss_seccreate()
538 options_ret->major_status = gssstat; in rpc_gss_seccreate()
/illumos-gate/usr/src/lib/krb5/kadm5/clnt/
H A Dclient_init.c528 options_ret.major_status, in _kadm5_initialize_rpcsec_gss_handle()