Re: SV_TYPE_PRINTQ_SERVER flag always true?
This is just to update the technical people here on what I have done. I commented out the line in Samba 2.2.4 param/loadparm.c 'default_server_announce |= SV_TYPE_PRINTQ_SERVER;' This successfully removed the server from the printer browser when using the Add Printer wizard. It also did not affect actual printing to the server, as it can still be set up if you know the name of the printer you want to print to. This works great for us because, for the most part, the greater than 3000 users we have here should not ever print to the samba servers. I have learned if you give users the ability to do something they shouldn't, they will go ahead and do it. If I could make a suggestion, maybe this SV_TYPE should be a configurable option through smb.conf. But then again, I don't think may people will ever really want to turn this off, we just happen to be a unique case. :) James Guzicki - IMG
Re: SV_TYPE_PRINTQ_SERVER flag always true?
On Mon, May 20, 2002 at 12:39:03PM -0400, James Guzicki - IMG wrote: This is just to update the technical people here on what I have done. I commented out the line in Samba 2.2.4 param/loadparm.c 'default_server_announce |= SV_TYPE_PRINTQ_SERVER;' This successfully removed the server from the Hi. I committed a patch to the HEAD branch on the weekend that should only set the printer server bit in the server announce if a print share is exported. I haven't had a chance to test it very much though. Would you be able to take a look and see if it works for you? Tim.
Re: SV_TYPE_PRINTQ_SERVER flag always true?
On Tue, May 14, 2002 at 12:21:59PM -0400, James Guzicki - IMG wrote: I hope this is the right list for this. In trying to diagnose a printer browsing problem on our Window machines, we discovered that all of our Samba 2.2.3a and 2.0.9 servers in the Browse List were registering with the SV_TYPE_PRINTQ_SERVER flag, meaning they had a print queue. This was true even for servers who didn't have printers at all. This will pose a problem for us soon because we will have about 50 Sun servers running Samba in the near future, at least half of which will be over slow connections. I Just out of curiosity, why is this a problem? It does sound like a bug though. Tim.