summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2007-12-23 03:02:19 +0100
committerMichael Adam <obnox@samba.org>2007-12-23 04:10:31 +0100
commitbd2b8f0f7b5a98917162bc5a27ffa4ee4cbebc54 (patch)
treeb7f83cff8f9520eda96dff167de140582c2d3ff2
parentb04708866f146ada8a7cc353347244df54821fbf (diff)
downloadsamba-bd2b8f0f7b5a98917162bc5a27ffa4ee4cbebc54.tar.gz
samba-bd2b8f0f7b5a98917162bc5a27ffa4ee4cbebc54.tar.bz2
samba-bd2b8f0f7b5a98917162bc5a27ffa4ee4cbebc54.zip
Replace direct deletion of registry value by use of libnet_smbconf_delparm().
Michael (This used to be commit 415fc0a5261f4d941027e5d5305fcea882724aef)
-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;
}