summaryrefslogtreecommitdiff
path: root/source3/nameelect.c
diff options
context:
space:
mode:
authorSamba Release Account <samba-bugs@samba.org>1997-08-12 23:02:45 +0000
committerSamba Release Account <samba-bugs@samba.org>1997-08-12 23:02:45 +0000
commit9b41ada7c8f5eb77a1acf0eaf29a7d6f8cbaea36 (patch)
tree676108f92f9f81260853c9e5f8b5572f48397415 /source3/nameelect.c
parent6fc2072d55080862af346a01781edede4931e533 (diff)
downloadsamba-9b41ada7c8f5eb77a1acf0eaf29a7d6f8cbaea36.tar.gz
samba-9b41ada7c8f5eb77a1acf0eaf29a7d6f8cbaea36.tar.bz2
samba-9b41ada7c8f5eb77a1acf0eaf29a7d6f8cbaea36.zip
charset.c: Fixed bug with 'valid chars' param.
loadparm.c: Fixed bug with 'valid chars' param. nameelect.c:Unregister the 1b name from the WINS server when unbecoming master. nameservresp.c: Fix nasty browse bug where we were sending the query to the wrong ip address. Jeremy (jallison@whistle.com) (This used to be commit 927d1875f0c09fe7b2e1c1bc4b1af2c0b8de0f7c)
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);
}
}