mirror of
https://github.com/samba-team/samba.git
synced 2025-03-20 22:50:26 +03:00
namedbsubnet.c: Added code for returning restricted lists of servers.
(This used to be commit d895094387a4f97a911f2c376baea53dc165c091)
This commit is contained in:
parent
fb1429c197
commit
29ac1823df
@ -217,7 +217,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,False);
|
||||
add_my_name_entry(d,group,0x1e,nb_type|NB_ACTIVE|NB_GROUP,False);
|
||||
/* add samba server name to workgroup list. */
|
||||
add_server_entry(d,w,myname,w->ServerType,0,lp_serverstring(),True);
|
||||
add_server_entry(d,w,myname,w->ServerType|SV_TYPE_LOCAL_LIST_ONLY,0,
|
||||
lp_serverstring(),True);
|
||||
DEBUG(3,("add_workgroup_to_subnet: Added server name entry %s to subnet %s\n",
|
||||
myname, inet_ntoa(d->bcast_ip)));
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user