http://git.pld-linux.org/gitweb.cgi?p=packages/gnome-control-center.git;a=blob;f=krb5.patch;h=260e9aac087453b798dc58b23bbc79705e6172d9;hb=49c1b881b47743e0c76eaf9158a37fd6532c111f --- panels/user-accounts/cc-realm-manager.c.orig 2021-09-17 20:48:56 UTC +++ panels/user-accounts/cc-realm-manager.c @@ -22,7 +22,7 @@ #include "cc-realm-manager.h" -#include +#include #include #include @@ -637,8 +637,10 @@ login_perform_kinit (krb5_context k5, code = krb5_get_init_creds_opt_alloc (k5, &opts); g_return_val_if_fail (code == 0, code); +#ifdef HAVE_KRB5_GET_INIT_CREDS_OPT_SET_OUT_CCACHE code = krb5_get_init_creds_opt_set_out_ccache (k5, opts, ccache); g_return_val_if_fail (code == 0, code); +#endif code = krb5_get_init_creds_password (k5, &creds, principal, (char *)password,