summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2011-06-01 14:50:49 -0700
committerJeremy Allison <jra@samba.org>2011-06-01 23:53:07 +0200
commit24ce9d52a644a8d7aa8e2ef3de1bb8cb644db410 (patch)
tree691637c2f43ac24974ac0b93040aea794da69e74
parent06fb258500d04747d18b2b327221acd79c31f44c (diff)
downloadsamba-24ce9d52a644a8d7aa8e2ef3de1bb8cb644db410.tar.gz
samba-24ce9d52a644a8d7aa8e2ef3de1bb8cb644db410.tar.bz2
samba-24ce9d52a644a8d7aa8e2ef3de1bb8cb644db410.zip
Fix const warning.
-rw-r--r--source3/utils/net_ads.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/utils/net_ads.c b/source3/utils/net_ads.c
index f712ddf220..69d5b102d4 100644
--- a/source3/utils/net_ads.c
+++ b/source3/utils/net_ads.c
@@ -2023,7 +2023,7 @@ static int net_ads_password(struct net_context *c, int argc, const char **argv)
ADS_STRUCT *ads;
const char *auth_principal = c->opt_user_name;
const char *auth_password = c->opt_password;
- char *realm = NULL;
+ const char *realm = NULL;
const char *new_password = NULL;
char *chr, *prompt;
const char *user;