mirror of
https://github.com/samba-team/samba.git
synced 2025-03-27 22:50:26 +03:00
Change to always register the WORKGROUP<1e> name as does Win95.
Jeremy. (This used to be commit 313fdcd3e99e0fa2bd44b30545cf32e36cd13119)
This commit is contained in:
parent
bd83f461a1
commit
52fa04d173
@ -254,10 +254,8 @@ void add_workgroup_to_subnet( struct subnet_record *d, char *group)
|
||||
|
||||
add_my_name_entry(d,group,0x0 ,nb_type|NB_ACTIVE|NB_GROUP);
|
||||
|
||||
/* Only register the WORKGROUP<0x1e> name if we could be a local master
|
||||
browser. */
|
||||
if(lp_local_master())
|
||||
add_my_name_entry(d,group,0x1e,nb_type|NB_ACTIVE|NB_GROUP);
|
||||
/* Register the WORKGROUP<0x1e> name. */
|
||||
add_my_name_entry(d,group,0x1e,nb_type|NB_ACTIVE|NB_GROUP);
|
||||
|
||||
/* Add all our server names to the workgroup list. We remove any
|
||||
browser or logon server flags from all but the primary name.
|
||||
|
Loading…
x
Reference in New Issue
Block a user