Use GLOBAL_NAME constant.
authorMichael Adam <obnox@samba.org>
Thu, 3 Jan 2008 13:17:42 +0000 (14:17 +0100)
committerMichael Adam <obnox@samba.org>
Thu, 3 Jan 2008 13:17:49 +0000 (14:17 +0100)
Michael
(This used to be commit 4c404d627ccfaf1c17f4b6b1ebab6fce357d9ab1)

source3/libnet/libnet_join.c

index 478cccf7257ff365fa6380122af0b8cfd77ccb8a..c289ad33e55643ed885e7d228ab3098d1ec26174 100644 (file)
@@ -379,7 +379,7 @@ static WERROR do_unjoin_modify_vals_config(struct libnet_UnjoinCtx *r)
                W_ERROR_NOT_OK_RETURN(werr);
        }
 
-       werr = libnet_conf_delete_parameter("GLOBAL", "realm");
+       werr = libnet_conf_delete_parameter(GLOBAL_NAME, "realm");
 
        return werr;
 }