Lines Matching defs:code
224 krb5_error_code code;
238 if ((code = krb5_cc_default(ctx, &cc)) != 0) {
241 smb_krb5_log_errmsg(ctx, msg, code);
246 code = krb5_set_password_using_ccache(ctx, cc, passwd, princ,
249 if (code != 0)
251 "exchange failed", code);
262 return (code);
273 krb5_error_code code;
287 if ((code = krb5_kt_resolve(ctx, ktname, kt)) != 0) {
289 smb_krb5_log_errmsg(ctx, msg, code);
310 krb5_error_code code;
323 code = krb5_principal2salt(ctx, salt_princ, &salt);
324 if (code != 0) {
326 "failed", code);
400 krb5_error_code code;
404 if ((code = krb5_enctype_to_string(enctype, buf, sizeof (buf)))) {
407 smb_krb5_log_errmsg(ctx, msg, code);
422 code = krb5_c_string_to_key(ctx, enctype, &password, salt, &key);
423 if (code != 0) {
426 smb_krb5_log_errmsg(ctx, msg, code);
435 if ((code = krb5_kt_add_entry(ctx, kt, entry)) != 0) {
438 smb_krb5_log_errmsg(ctx, msg, code);