From aaf2cae36b8ce8e13d04e1124f5ca581cfb64bc2 Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Wed, 27 Aug 2014 09:09:13 +0200 Subject: s3-kpasswd: Fix build warning. Guenther Signed-off-by: Guenther Deschner Reviewed-by: Andrew Bartlet Autobuild-User(master): Andreas Schneider Autobuild-Date(master): Mon Sep 1 18:15:15 CEST 2014 on sn-devel-104 --- source3/libads/krb5_setpw.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 }; -- cgit