summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSumit Bose <sbose@redhat.com>2012-11-19 22:12:59 +0100
committerJakub Hrozek <jhrozek@redhat.com>2012-11-20 08:20:11 +0100
commit026a28889b05c805d8d2d05d711009c55b73f4f6 (patch)
tree3e28c8995cfe5ff716686c97beff9c3fd2276284
parent4150c31768ffcbba8ba50e01038fc9896b31f217 (diff)
downloadsssd-026a28889b05c805d8d2d05d711009c55b73f4f6.tar.gz
sssd-026a28889b05c805d8d2d05d711009c55b73f4f6.tar.xz
sssd-026a28889b05c805d8d2d05d711009c55b73f4f6.zip
KRB5: Work around const warning for krb5 releases older than 1.11
-rw-r--r--src/providers/krb5/krb5_child.c2
1 files changed, 1 insertions, 1 deletions
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 */