[Samba] Slow print browsing in WinNT/Win2K with Samba 2.2.3a

James Guzicki - IMG jguzicki at infomg.com
Mon May 13 12:56:02 GMT 2002


We recently upgraded our UNIX systems to Samba 2.2.3a and have noticed that 
now WinNT and Win2K take an awful long time get a listing when browsing to 
add a network printer.  We have tracked it down to a "Feature" in Windows 
where it poles the Browse Master for systems that have printing services, 
and then the Windows client poles each one of those systems to get a 
listing of available printers.  We have a large number of UNIX Samba 
servers, most of which do not have printers.  I have done as much as I can 
to figure out how to get Samba to tell the Browse Master it does not have 
printers, but have been unsuccessful.  The Samba server registers itself 
with the Server Type Field string as 0x40009b03.  According to MS White 
Papers, 0x000002000 indicates that the server is sharing a print queue.  Is 
there a way to get Samba to not register itself as having a print queue (I 
assume this would actually be a function of NMBD).

Samba V 2.2.3a
Solaris 8

Any help would be appreciated.

James Guzicki
Systems Engineer
Information Management Group, LLC
Albany, NY

smb.conf:
; This file was automatically generated!
; Do not modify this file by hand, as any modifications will be overwritten.
; Please contact the unix admins with any modifications.
; Currently distributed from //backup/sysadmin/samba

[tmp]
   comment = Temp Space
   path = /tmp
   writable = true

[global]
   server string = UNIX Samba 2.2.3a uau3
   workgroup = DEC
   client code page = 437
   encrypt passwords = yes
   password server = *
   restrict anonymous = Yes
   change notify timeout = 300
   deadtime = 10
   lm announce = False
   preferred master = False
   domain master = False
   kernel oplocks = No
   wins server = XXX.XXX.252.10
   name resolve order = wins host bcast
   dns proxy = yes
   wins proxy = no
   load printers = no
   local master = false
   security = domain
   alternate permissions = yes
   create mask = 0755
   debug level = 4
   log file = /usr/local/samba/log/log.%m
   lock directory = /usr/local/samba/var/locks
   password level = 4
   guest account = nobody

[root]
   path = /
   browseable = no
   dont descend = ./

[sys]
   path = /
   browseable = no
   dont descend = ./

[install]
   path = /export/data/install
   writable = false



Select log.nmbd output:
[2002/05/13 15:21:48, 4] nmbd/nmbd_workgroupdb.c:dump_workgroups(290)
   dump_workgroups()
    dump workgroup on subnet  XXX.XXX.226.75: netmask=  255.255.254.0:
         DEC(1) current master browser = TFSTEWAR2
                 UAU3 40009b03 (UNIX Samba 2.2.3a uau3)
                 TFSTEWAR2 40061003 ()
[2002/05/13 15:21:48, 4] nmbd/nmbd_workgroupdb.c:dump_workgroups(290)
   dump_workgroups()
    dump workgroup on subnet  UNICAST_SUBNET: netmask= XXX.XXX.252.10:
         DEC(1) current master browser = UNKNOWN
                 UAU3 40009b03 (UNIX Samba 2.2.3a uau3)








More information about the samba mailing list