[Samba] [PATCH] 2.2.12: fix support for samba daemons running under daemontools

Andrew Bartlett abartlet at samba.org
Tue Oct 5 22:50:29 GMT 2004


On Wed, 2004-10-06 at 01:51, Denis Vlasenko wrote:
> On Tuesday 05 October 2004 15:45, Denis Vlasenko wrote:
> > One can run samba 2.2.12 daemons (nmbd,smbd,winbindd) under daemontools if
> > they are started with -i option. However, smbd does not handle more than
> > one connection at once in this mode.
> >
> > If one redirects it to pipe/file, logging to stdout is buffered.
> > Log text appears there with inacceptable delay.
> >
> > This patch:
> >
> > * adds option -f to nmbd, smbd and windindd.
> > * for nmbd and winbindd it is identical to -i.
> > * for smbd it is mostly like -i but allows multiple connections to smbd.
> > * usage() text updated accordingly.
> > * smbd help on -i now mentions single threaded behaviour.
> > * getopt in nmbd and smbd source expected -f option with parameter,
> >   but there were no other supporting code for it. An oversight? Removed.
> > * stdout set to unbuffered mode if we do logging to it.
> >
> > Run tested.
> >
> > Please review/apply.

Samba 2.2 just ran into it's 'end of life' (Oct 1).  (And we have only
be doing security releases for the last year or so).

> Available at http://195.66.192.168/linux/fg.patch
> 
> Is it just me, or attachents are banned/stripped on this list?

If they are not text/plain, then yes.

Andrew Bartlett

-- 
Andrew Bartlett                                 abartlet at samba.org
Authentication Developer, Samba Team            http://samba.org
Student Network Administrator, Hawker College   abartlet at hawkerc.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.samba.org/archive/samba/attachments/20041006/cd235a67/attachment.bin


More information about the samba mailing list