From a31281a751d2ad2528ad99348a5c9c9ae10b99a4 Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Mon, 14 Apr 2008 22:57:37 +0200 Subject: libnetjoin: delete the workgroup name when requested while unjoining. Guenther (This used to be commit 1782e89f3341eca5ee1fa39881ee8efb3fac9a5b) --- source3/libnet/libnet_join.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'source3') diff --git a/source3/libnet/libnet_join.c b/source3/libnet/libnet_join.c index 182945bdfc..90cb64c5d6 100644 --- a/source3/libnet/libnet_join.c +++ b/source3/libnet/libnet_join.c @@ -1288,6 +1288,10 @@ static WERROR do_unjoin_modify_vals_config(struct libnet_UnjoinCtx *r) werr = smbconf_set_global_parameter(ctx, "security", "user"); W_ERROR_NOT_OK_GOTO_DONE(werr); + + werr = smbconf_delete_global_parameter(ctx, "workgroup"); + W_ERROR_NOT_OK_GOTO_DONE(werr); + smbconf_delete_global_parameter(ctx, "realm"); } -- cgit