file descriptors consumed by printing

Richard Sharpe rsharpe at richardsharpe.com
Mon Mar 3 06:10:53 GMT 2003


On Mon, 3 Mar 2003, Tim Potter wrote:

> On Sun, Mar 02, 2003 at 06:54:37AM -0800, Richard Sharpe wrote:
> 
> > On Sat, 1 Mar 2003, Vance Lankhaar wrote:
> > 
> > > What about adding a value to the printing param? -> "printing =
> > > disabled" 
> > 
> > This seems like a good way to do it. Does anyone have any objections if I 
> > do so?
> 
> Why do we need it?  Just call lp_default_server_announce() and check if
> the SV_TYPE_PRINTQ_SERVER bit is set.  If no print shares are exported
> then don't call nt_printing_backend_init().

Hmmm, Samba 2.2.x sets SV_TYPE_PRINTQ_SERVER unconditionaly.
 
> I don't think we need yet another parameter when the information is
> already available.
> 
> 
> Tim.
> 

-- 
Regards
-----
Richard Sharpe, rsharpe[at]ns.aus.com, rsharpe[at]samba.org, 
sharpe[at]ethereal.com, http://www.richardsharpe.com



More information about the samba-technical mailing list