summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/libnet/libnet_join.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/libnet/libnet_join.c b/source3/libnet/libnet_join.c
index 6426dc3079..d0ecd225ad 100644
--- a/source3/libnet/libnet_join.c
+++ b/source3/libnet/libnet_join.c
@@ -1248,6 +1248,8 @@ static WERROR do_join_modify_vals_config(struct libnet_JoinCtx *r)
werr = smbconf_set_global_parameter(ctx, "workgroup",
r->in.domain_name);
+
+ smbconf_delete_global_parameter(ctx, "realm");
goto done;
}