git.samba.org
/
ira
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
c8d96d5
)
libnetjoin: delete the workgroup name when requested while unjoining.
author
Günther Deschner
<gd@samba.org>
Mon, 14 Apr 2008 20:57:37 +0000
(22:57 +0200)
committer
Günther Deschner
<gd@samba.org>
Mon, 14 Apr 2008 20:57:37 +0000
(22:57 +0200)
Guenther
(This used to be commit
1782e89f3341eca5ee1fa39881ee8efb3fac9a5b
)
source3/libnet/libnet_join.c
patch
|
blob
|
history
diff --git
a/source3/libnet/libnet_join.c
b/source3/libnet/libnet_join.c
index 182945bdfc8e9ab42207457abf843fe1c8be8acc..90cb64c5d638073042d143edfb49f1be7be426b0 100644
(file)
--- 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");
}