summaryrefslogtreecommitdiff
path: root/source3/libnet
diff options
context:
space:
mode:
Diffstat (limited to 'source3/libnet')
-rw-r--r--source3/libnet/libnet_join.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/libnet/libnet_join.c b/source3/libnet/libnet_join.c
index 2994c3f59d..fe7fb7dd73 100644
--- a/source3/libnet/libnet_join.c
+++ b/source3/libnet/libnet_join.c
@@ -398,7 +398,7 @@ static WERROR do_unjoin_modify_vals_config(TALLOC_CTX *mem_ctx,
W_ERROR_NOT_OK_RETURN(werr);
}
- reg_deletevalue(key, "realm");
+ werr = libnet_smbconf_delparm(mem_ctx, "GLOBAL", "realm");
return werr;
}