summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJakub Hrozek <jhrozek@redhat.com>2013-06-27 18:47:45 +0200
committerJakub Hrozek <jhrozek@redhat.com>2013-06-27 18:47:45 +0200
commit2db41269f8c3053fe45e3c709db75ccc34bf9a09 (patch)
tree4f709c9a60778d894d0627818c76d956972a2dc1 /src
parent58dd26b1c5b60ee992dd5d1214bb168aebb42d54 (diff)
downloadsssd-2db41269f8c3053fe45e3c709db75ccc34bf9a09.tar.gz
sssd-2db41269f8c3053fe45e3c709db75ccc34bf9a09.tar.xz
sssd-2db41269f8c3053fe45e3c709db75ccc34bf9a09.zip
Fix compilation warning
Diffstat (limited to 'src')
-rw-r--r--src/providers/krb5/krb5_common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/providers/krb5/krb5_common.c b/src/providers/krb5/krb5_common.c
index 4bf071eef..8f5eb4967 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 */