Make use of the new libnet_conf_delete_global_parameter() function.
authorMichael Adam <obnox@samba.org>
Sun, 13 Jan 2008 22:20:51 +0000 (23:20 +0100)
committerMichael Adam <obnox@samba.org>
Sun, 13 Jan 2008 22:20:51 +0000 (23:20 +0100)
Michael
(This used to be commit aed01fd28c8e896e993239cbe9b2681132ddf980)

source3/libnet/libnet_join.c

index 66b5461dc2252433873267bde93c48e5d250a9a3..eaf851ccec96f2bb93a153cc7b48e60803e737b8 100644 (file)
@@ -951,7 +951,7 @@ static WERROR do_unjoin_modify_vals_config(struct libnet_UnjoinCtx *r)
                }
        }
 
-       libnet_conf_delete_parameter(ctx, GLOBAL_NAME, "realm");
+       libnet_conf_delete_global_parameter(ctx, "realm");
 
 done:
        libnet_conf_close(ctx);