[packages/gnome-control-center] - patch to use heimdal kerberos implementation

Jan Rękorajski baggins at pld-linux.org
Fri Oct 5 14:59:23 CEST 2012


You need to generate HAVE_KRB5_GET_INIT_CREDS_OPT_SET_OUT_CCACHE
definition in configure, or you may get unpredictable results if you
ever build it with MIT ;)

On Fri, 05 Oct 2012, kiesiu wrote:

> commit e23087188dce0c74833f4c3d480316509a6f819e
> Author: Łukasz Kieś <kiesiu at pld-linux.org>
> Date:   Fri Oct 5 14:40:24 2012 +0200
> 
>     - patch to use heimdal kerberos implementation
> 
>  krb5.patch | 23 +++++++++++++++++++++++
>  1 file changed, 23 insertions(+)
> ---
> diff --git a/krb5.patch b/krb5.patch
> new file mode 100644
> index 0000000..260e9aa
> --- /dev/null
> +++ b/krb5.patch
> @@ -0,0 +1,23 @@
> +diff -uNr gnome-control-center-3.6.0/panels/user-accounts/um-realm-manager.c gnome-control-center-3.6.0.new/panels/user-accounts/um-realm-manager.c
> +--- gnome-control-center-3.6.0/panels/user-accounts/um-realm-manager.c	2012-09-24 17:39:34.000000000 +0200
> ++++ gnome-control-center-3.6.0.new/panels/user-accounts/um-realm-manager.c	2012-10-05 14:30:29.557805038 +0200
> +@@ -23,7 +23,7 @@
> + 
> + #include "um-realm-manager.h"
> + 
> +-#include <krb5/krb5.h>
> ++#include <krb5.h>
> + 
> + #include <glib.h>
> + #include <glib/gi18n.h>
> +@@ -703,8 +703,10 @@
> +         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,
> ================================================================
> 
> ---- gitweb:
> 
> http://git.pld-linux.org/gitweb.cgi/packages/gnome-control-center.git/commitdiff/49c1b881b47743e0c76eaf9158a37fd6532c111f
> 
> _______________________________________________
> pld-cvs-commit mailing list
> pld-cvs-commit at lists.pld-linux.org
> http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

-- 
Jan Rękorajski                                 | PLD/Linux
SysAdm                                         | http://www.pld-linux.org/
baggins<at>mimuw.edu.pl
baggins<at>pld-linux.org


More information about the pld-devel-en mailing list