Lines Matching defs:code

148 display_status_1(m, code, type, mech)
150 OM_uint32 code;
162 maj_stat = gss_display_status(&min_stat, code,
194 * maj_stat the GSS-API major status code
195 * min_stat the GSS-API minor status code
312 int code = 0;
342 code = KADM5_BAD_SERVER_NAME;
388 code = KADM5_RPC_ERROR;
430 code = KADM5_RPC_ERROR;
442 code = KADM5_RPC_ERROR;
450 if (code = _kadm5_check_handle((void *) handle))
474 code = KADM5_GSS_ERROR;
496 code = KADM5_GSS_ERROR;
500 "major error code: %d\n"), gssstat);
525 code = KADM5_GSS_ERROR;
535 * Bypass the remainder of the code and return straightaway
539 code = 0;
548 code = KADM5_RPC_ERROR;
552 if (r->code) {
553 code = r->code;
557 r->code);
570 if (code && (gss_client_creds != GSS_C_NO_CREDENTIAL))
573 return (code);
594 int code = 0;
687 if ((code = kadm5_get_config_params(handle->context, 0,
693 "failed to get config_params, return: %d\n"), code);
694 return(code);
722 if ((code = krb5_parse_name(handle->context, client_name,
752 code = ENOMEM;
758 if ((code = krb5_parse_name(handle->context, newsvcname,
776 code = KADM5_GSS_ERROR;
795 code = ENOMEM;
806 code = ENOMEM;
819 if ((code = krb5_cc_resolve(handle->context, handle->cache_name,
823 if ((code = krb5_cc_initialize (handle->context, ccache,
833 if ((code = krb5_timeofday(handle->context, &now)))
855 code = krb5_unparse_name(handle->context, creds.server, &server);
856 if (code)
864 code = krb5_copy_principal(handle->context, creds.server, &saved_server);
865 if (code)
869 code = krb5_get_init_creds_password(handle->context,
876 if (!(pass && (code = krb5_kt_resolve(handle->context,
878 code = krb5_get_init_creds_keytab(
889 if (code == KRB5KRB_AP_ERR_BAD_INTEGRITY) code = KADM5_BAD_PASSWORD;
890 if (code == KRB5KDC_ERR_S_PRINCIPAL_UNKNOWN)
891 code = KADM5_SECURE_PRINC_MISSING;
893 if (code != 0) {
917 code = krb5_cc_store_cred(handle->context, ccache, &creds);
930 code = _kadm5_initialize_rpcsec_gss_handle(handle,
939 * to prevent a double free in the "error" code.
941 if (code != 0) {
959 * Note that it is illegal for this code to execute if "handle"
961 * error" before the block of code at the top of the function
993 * Dont clean up the handle if the code is OK (code==0)
997 if (code) {
1003 return code;
1010 int code = KADM5_OK;
1025 if ((code = krb5_cc_resolve(handle->context,
1027 code = krb5_cc_destroy (handle->context, ccache);
1052 return code;