file descriptors consumed by printing

Richard Sharpe rsharpe at richardsharpe.com
Mon Mar 3 06:25:27 GMT 2003


On Mon, 3 Mar 2003, Tim Potter wrote:

> On Sun, Mar 02, 2003 at 10:10:53PM -0800, Richard Sharpe wrote:
> 
> > > > 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.
> 
> It's fixed in HEAD.

Yeah, well someone forgot their janitorial duties :-)

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