1
0
mirror of https://github.com/samba-team/samba.git synced 2025-11-16 20:23:50 +03:00

libnetjoin: delete the workgroup name when requested while unjoining.

Guenther
This commit is contained in:
Günther Deschner
2008-04-14 22:57:37 +02:00
parent 8d3d1c094a
commit 1782e89f33

View File

@@ -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");
}