Browsing problem for printers on Samba3.0 a24.

Tim Potter tpot at samba.org
Wed May 21 00:33:06 GMT 2003


On Tue, May 20, 2003 at 12:14:04PM +0200, Jianliang Lu wrote:

> When a user would add a printer, that was shared on Samba, on his NT machine, 
> he cannot find the printers from the shared list. The problem is that the 
> browsing flag of Samba does not include the SV_TYPE_PRINTQ_SERVER 
> (0x00000200), so a rap API_NetServerEnum2 (104) was failed to get printer 
> servers.
> I think that we should put the "default_server_announce |= 
> SV_TYPE_PRINTQ_SERVER;" on the routine "set_default_server_announce_type", 
> because the "update_server_announce_as_printserver" was called only by the 
> smbd, not nmbd, that was responsible for the browsing announcement.

I've added this as bug 101 on bugzilla.samba.org.

I think what needs to happen is smbd and nmbd to be sent a SIGHUP to
reload the config file and update the server announce setting.


Tim.



More information about the samba-technical mailing list