summaryrefslogtreecommitdiff
path: root/source3/nameelect.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/nameelect.c')
-rw-r--r--source3/nameelect.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/source3/nameelect.c b/source3/nameelect.c
index 0ae8c9766d..06f3e870af 100644
--- a/source3/nameelect.c
+++ b/source3/nameelect.c
@@ -641,6 +641,10 @@ void unbecome_domain_master(struct subnet_record *d, struct work_record *work,
how it was registered. */
remove_name_entry(d,work->work_group,0x1b);
}
+
+ /* Unregister the 1b name from the WINS server. */
+ if(wins_subnet != NULL)
+ remove_name_entry(wins_subnet, myworkgroup, 0x1b);
}
}