summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamba Release Account <samba-bugs@samba.org>1997-07-01 01:23:34 +0000
committerSamba Release Account <samba-bugs@samba.org>1997-07-01 01:23:34 +0000
commit29ac1823dfce39f2259ff1994aa6145ea6009154 (patch)
tree885e0c21a8938455fc8014438bcf6b5a16c5b668
parentfb1429c1970bc123e191f0cb7cc764faf4b86998 (diff)
downloadsamba-29ac1823dfce39f2259ff1994aa6145ea6009154.tar.gz
samba-29ac1823dfce39f2259ff1994aa6145ea6009154.tar.bz2
samba-29ac1823dfce39f2259ff1994aa6145ea6009154.zip
namedbsubnet.c: Added code for returning restricted lists of servers.
(This used to be commit d895094387a4f97a911f2c376baea53dc165c091)
-rw-r--r--source3/namedbsubnet.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/namedbsubnet.c b/source3/namedbsubnet.c
index 7e800930a5..e3a2ea6e68 100644
--- a/source3/namedbsubnet.c
+++ b/source3/namedbsubnet.c
@@ -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)));
}