Sorry, one of my patches introduced a compilation warning: CC src/providers/krb5/krb5_child_handler.lo /home/remote/jhrozek/devel/sssd/src/providers/krb5/krb5_common.c:928:14: warning: assigning to 'char *' from 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] name = username; ^ ~~~~~~~~ I have pushed the attached one-liner to fix the warning.
>From 2db41269f8c3053fe45e3c709db75ccc34bf9a09 Mon Sep 17 00:00:00 2001 From: Jakub Hrozek <jhro...@redhat.com> Date: Thu, 27 Jun 2013 18:47:45 +0200 Subject: [PATCH] Fix compilation warning
--- src/providers/krb5/krb5_common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/providers/krb5/krb5_common.c b/src/providers/krb5/krb5_common.c index 4bf071eef006312658bab1129e40f390f8198f12..8f5eb4967b7547000fea51e204a699ac5a38d401 100644 --- a/src/providers/krb5/krb5_common.c +++ b/src/providers/krb5/krb5_common.c @@ -925,7 +925,7 @@ errno_t krb5_get_simple_upn(TALLOC_CTX *mem_ctx, struct krb5_ctx *krb5_ctx, if (ret != EOK) { DEBUG(SSSDBG_OP_FAILURE, ("Could not parse %s into name and " \ "domain components, login might fail\n")); - name = username; + name = discard_const(username); } /* NOTE: this is a hack, works only in some environments */ -- 1.8.3.1
_______________________________________________ sssd-devel mailing list sssd-devel@lists.fedorahosted.org https://lists.fedorahosted.org/mailman/listinfo/sssd-devel