Lines Matching refs:krberr
137 static int pack_buffer(struct response *r, int result, krb5_error_code krberr,
155 "result [%d] krberr [%d] msgsize [%d] msg [%s]\n",
156 result, krberr, len, msg);
162 safealign_memcpy(&r->buf[p], &krberr, sizeof(krberr), &p);
202 krb5_error_code krberr;
206 krberr = krb5_kt_start_seq_get(context, keytab, &cursor);
207 if (krberr) {
214 KEYTAB_CLEAN_NAME, krberr,
215 sss_krb5_get_error_message(context, krberr));
222 krberr = krb5_unparse_name(context, entry.principal, &kt_principal);
223 if (krberr) {
234 krberr = sss_krb5_free_keytab_entry_contents(context, &entry);
235 if (krberr) {
248 krberr = krb5_kt_end_seq_get(context, keytab, &cursor);
249 if (krberr) {
292 krb5_error_code krberr;
303 krberr = KRB5KRB_ERR_GENERIC;
307 krberr = set_child_debugging(context);
308 if (krberr != EOK) {
313 krberr = krb5_get_default_realm(context, &default_realm);
314 if (krberr) {
316 sss_krb5_get_error_message(context, krberr));
323 krberr = KRB5KRB_ERR_GENERIC;
329 krberr = KRB5KRB_ERR_GENERIC;
348 krberr = KRB5KRB_ERR_GENERIC;
358 krberr = KRB5_KT_IOERR;
363 krberr = KRB5KRB_ERR_GENERIC;
368 krberr = krb5_parse_name(context, full_princ, &kprinc);
369 if (krberr) {
371 sss_krb5_get_error_message(context, krberr));
376 krberr = krb5_kt_resolve(context, keytab_name, &keytab);
378 krberr = krb5_kt_default(context, &keytab);
381 if (krberr) {
385 sss_krb5_get_error_message(context, krberr));
394 krberr = KRB5_KT_IOERR;
416 krberr = ENOMEM;
419 strerror(krberr), krberr);
426 krberr = ENOMEM;
429 strerror(krberr), krberr);
439 krberr = KRB5KRB_ERR_GENERIC;
443 krberr = krb5_get_init_creds_keytab(context, &my_creds, kprinc,
447 if (krberr) {
450 sss_krb5_get_error_message(context, krberr));
455 sss_krb5_get_error_message(context, krberr));
463 krberr = ENOMEM;
468 krberr = krb5_cc_resolve(context, ccname_dummy, &ccache);
469 if (krberr) {
471 sss_krb5_get_error_message(context, krberr));
476 krberr = krb5_cc_initialize(context, ccache, my_creds.client);
477 if (krberr) {
479 sss_krb5_get_error_message(context, krberr));
483 krberr = krb5_cc_store_cred(context, ccache, &my_creds);
484 if (krberr) {
486 sss_krb5_get_error_message(context, krberr));
492 krberr = krb5_get_time_offsets(context, &kdc_time_offset,
494 if (krberr) {
496 sss_krb5_get_error_message(context, krberr));
520 krberr = 0;
525 if (krberr != 0) KRB5_SYSLOG(krberr);
529 return krberr;