summaryrefslogtreecommitdiff
path: root/source3/nameserv.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/nameserv.c')
-rw-r--r--source3/nameserv.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/source3/nameserv.c b/source3/nameserv.c
index ba61dd3417..69be6b0131 100644
--- a/source3/nameserv.c
+++ b/source3/nameserv.c
@@ -267,6 +267,11 @@ void add_my_names(void)
add_netbios_entry("*",0x0,NB_ACTIVE,0,SELF,ip,False);
add_netbios_entry("__SAMBA__",0x20,NB_ACTIVE,0,SELF,ip,False);
add_netbios_entry("__SAMBA__",0x00,NB_ACTIVE,0,SELF,ip,False);
+
+ if (lp_wins_support()) {
+ /* the 0x1c name gets added by any WINS server it seems */
+ add_name_entry(my_workgroup(),0x1c,NB_ACTIVE|NB_GROUP);
+ }
}
/*******************************************************************