summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2014-08-27 09:09:13 +0200
committerAndreas Schneider <asn@cryptomilk.org>2014-09-01 18:15:15 +0200
commitaaf2cae36b8ce8e13d04e1124f5ca581cfb64bc2 (patch)
treee4a2fc1aa10caa7ff7196ccc7d6843a103ec543d
parent638a8edd7ce708cf550c054ac16dade795b6448b (diff)
downloadsamba-aaf2cae36b8ce8e13d04e1124f5ca581cfb64bc2.tar.gz
samba-aaf2cae36b8ce8e13d04e1124f5ca581cfb64bc2.tar.xz
samba-aaf2cae36b8ce8e13d04e1124f5ca581cfb64bc2.zip
s3-kpasswd: Fix build warning.
Guenther Signed-off-by: Guenther Deschner <gd@samba.org> Reviewed-by: Andrew Bartlet <abartlet@samba.org> Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org> Autobuild-Date(master): Mon Sep 1 18:15:15 CEST 2014 on sn-devel-104
-rw-r--r--source3/libads/krb5_setpw.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/libads/krb5_setpw.c b/source3/libads/krb5_setpw.c
index 928246ab70..5b33e2eaad 100644
--- a/source3/libads/krb5_setpw.c
+++ b/source3/libads/krb5_setpw.c
@@ -168,7 +168,7 @@ static ADS_STATUS ads_krb5_chg_password(const char *kdc_host,
krb5_get_init_creds_opt opts;
krb5_creds creds;
char *chpw_princ = NULL, *password;
- const char *realm = NULL;
+ char *realm = NULL;
int result_code;
krb5_data result_code_string = { 0 };
krb5_data result_string = { 0 };