From 026a28889b05c805d8d2d05d711009c55b73f4f6 Mon Sep 17 00:00:00 2001 From: Sumit Bose Date: Mon, 19 Nov 2012 22:12:59 +0100 Subject: KRB5: Work around const warning for krb5 releases older than 1.11 --- src/providers/krb5/krb5_child.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/providers/krb5/krb5_child.c b/src/providers/krb5/krb5_child.c index e2125a453..cd6f7e34a 100644 --- a/src/providers/krb5/krb5_child.c +++ b/src/providers/krb5/krb5_child.c @@ -38,7 +38,7 @@ #include "providers/krb5/krb5_utils.h" #include "sss_cli.h" -#define SSSD_KRB5_CHANGEPW_PRINCIPAL "kadmin/changepw" +#define SSSD_KRB5_CHANGEPW_PRINCIPAL discard_const("kadmin/changepw") struct krb5_child_ctx { /* opts taken from kinit */ -- cgit