Fix const warning.
[ira/wip.git] / 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;