Lines Matching refs:code

163 display_status_1(m, code, type, mech)
165 OM_uint32 code;
176 maj_stat = gss_display_status(&min_stat, code,
208 * maj_stat the GSS-API major status code
209 * min_stat the GSS-API minor status code
323 int code = 0;
346 code = KADM5_BAD_SERVER_NAME;
352 code = KADM5_BAD_SERVER_NAME;
396 code = KADM5_RPC_ERROR;
438 code = KADM5_RPC_ERROR;
450 code = KADM5_RPC_ERROR;
458 if (code = _kadm5_check_handle((void *) handle))
477 code = KADM5_GSS_ERROR;
493 code = KADM5_GSS_ERROR;
518 code = KADM5_GSS_ERROR;
528 * Bypass the remainder of the code and return straightaway
532 code = 0;
539 code = KADM5_RPC_ERROR;
544 if (r->code == KADM5_NEW_SERVER_API_VERSION &&
549 code = KADM5_RPC_ERROR;
554 if (r->code) {
555 code = r->code;
571 if (code && (gss_client_creds != GSS_C_NO_CREDENTIAL))
574 return (code);
640 int code = 0;
689 KADM5_NEW_LIB_API_VERSION, code);
690 if (code != 0) {
693 return (code);
727 if ((code = kadm5_get_config_params(handle->context, 0,
731 return(code);
771 if ((code = krb5_parse_name(handle->context, client_name,
793 code = ENOMEM;
799 if ((code = krb5_parse_name(handle->context, newsvcname,
818 code = KADM5_GSS_ERROR;
837 code = ENOMEM;
848 code = ENOMEM;
861 if ((code = krb5_cc_resolve(handle->context, handle->cache_name,
865 if ((code = krb5_cc_initialize (handle->context, ccache,
873 if ((code = krb5_timeofday(handle->context, &now)))
895 code = krb5_unparse_name(handle->context, creds.server, &server);
896 if (code)
904 code = krb5_copy_principal(handle->context, creds.server, &saved_server);
905 if (code)
909 code = krb5_get_init_creds_password(handle->context,
916 if (!(pass && (code = krb5_kt_resolve(handle->context,
919 code = krb5_get_init_creds_keytab(handle->context,
929 if (code == KRB5KRB_AP_ERR_BAD_INTEGRITY) code = KADM5_BAD_PASSWORD;
930 if (code == KRB5KDC_ERR_S_PRINCIPAL_UNKNOWN) {
931 code = KADM5_SECURE_PRINC_MISSING;
939 if (code != 0) {
961 code = krb5_cc_store_cred(handle->context, ccache, &creds);
973 code = _kadm5_initialize_rpcsec_gss_handle(handle,
982 * to prevent a double free in the "error" code.
984 if (code != 0) {
1011 * Note that it is illegal for this code to execute if "handle"
1013 * error" before the block of code at the top of the function
1045 * Dont clean up the handle if the code is OK (code==0)
1049 if (code) {
1054 return code;
1061 int code = KADM5_OK;
1076 if ((code = krb5_cc_resolve(handle->context,
1078 code = krb5_cc_destroy (handle->context, ccache);
1102 return code;