summaryrefslogtreecommitdiffstats
path: root/source/nameannounce.c
diff options
context:
space:
mode:
authorSamba Release Account <samba-bugs@samba.org>1997-07-01 01:19:13 +0000
committerSamba Release Account <samba-bugs@samba.org>1997-07-01 01:19:13 +0000
commit1c6e433caa22813a699c9766847886eb59755f8b (patch)
tree7ebc25637926ed22a740029767851621f5775278 /source/nameannounce.c
parent199fe63b1524833840b44ac708c2540272386d31 (diff)
downloadsamba-1c6e433caa22813a699c9766847886eb59755f8b.tar.gz
samba-1c6e433caa22813a699c9766847886eb59755f8b.tar.xz
samba-1c6e433caa22813a699c9766847886eb59755f8b.zip
client.c: New print queue query code from Jeff C. Foster " <jfoste@wgc.woodward.com>
ipc.c: Added code for returning restricted lists of servers. loadparm.c: Changed default for force create mode to 000. Changed default maxmux to 50 to comply with NT. locking.c: Fixed silly crash bug with slow share mode code. nameannounce.c: Added code for returning restricted lists of servers. namedbserver.c: Added code for returning restricted lists of servers. nameelect.c: Added code for returning restricted lists of servers. namework.c: Added code for returning restricted lists of servers. nmbsync.c: Added code for returning restricted lists of servers. server.c: Added quota fix Albrecht Gebhardt <albrecht.gebhardt@uni-klu.ac.at> smb.h: Added define for COPYBUF_SIZE. system.c: Rename across filesystems Patch from Warren Birnbaum <warrenb@hpcvscdp.cv.hp.com> util.c: Minor fix for warning.
Diffstat (limited to 'source/nameannounce.c')
-rw-r--r--source/nameannounce.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/nameannounce.c b/source/nameannounce.c
index 899fcd7e3b5..6e7e445e4b1 100644
--- a/source/nameannounce.c
+++ b/source/nameannounce.c
@@ -165,7 +165,7 @@ void do_announce_host(int command,
CVAL(p,21) = MAJOR_VERSION; /* major version */
CVAL(p,22) = MINOR_VERSION; /* minor version */
- SIVAL(p,23,server_type);
+ SIVAL(p,23,server_type & ~SV_TYPE_LOCAL_LIST_ONLY);
/* browse version: got from NT/AS 4.00 - Value defined in smb.h (JHT)*/
SSVAL(p,27,BROWSER_ELECTION_VERSION);
SSVAL(p,29,BROWSER_CONSTANT); /* browse signature */