Fix const warning.
authorJeremy Allison <jra@samba.org>
Wed, 1 Jun 2011 21:50:49 +0000 (14:50 -0700)
committerJeremy Allison <jra@samba.org>
Wed, 1 Jun 2011 21:53:07 +0000 (23:53 +0200)
source3/utils/net_ads.c

index f712ddf2204e0343818c7bb423f4c007202c647f..69d5b102d4ea63ce2b6516f6590fb5fd67864cd2 100644 (file)
@@ -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;