Luke Kenneth Casson Leighton lkcl at
Fri Jun 18 18:42:33 GMT 2004


if you want to drastically cut down the amount of time you take,
look at the cliffs project.

you will find that there is a very simple IDL generator (written
in awk by andrew) which was used to auto-generated _stacks_ of code
which you would be completely mad to recreate manually.

the IDL file itself is taken DIRECTLY from the cifs specification
(text version) and i MEAN directly: i massaged it a bit and
added some grungy bits and ran the compiler.

if you need a change of / alternative / dual license on any
of the bits that i am responsible for, let me know.


On Mon, Jun 14, 2004 at 04:00:48PM -0400, Matthew Keller wrote:
> I started to write an SMB protocol plugin for Apache2. Then I got
> distracted by a paying project and haven't been back at it. I spent many
> hours planning out the requirements and it all looked very very doable.
> My design had a separate "nmbd"-esque daemon just to deal with the
> persistent LAN netbios-naming crap, but the "smbd"-esque part appeared
> to be 100-160 manhours based on my Gantt. Of course, I could've grossly
> underestimated it, but I don't think so. I'll probably hack back at it
> sometime this summer. I really like the Apache2 infrastructure, and
> after doing a couple toy protocols, wanted to jump in over my head. :) 
> My $0.02.
> On Thu, 2004-06-03 at 17:12, Luke Kenneth Casson Leighton wrote:
> > btw if anyone is concerned about the speed of a multi-processed
> > arrangement (one daemon per service, where services equals
> > double-digits as in samba-tng) then of course all you need
> > to do to fix the fork() issue is to use the same approach as
> > apache(1&2): have a pool of pre-forked processes on tap.
> > 
> > in fact i am surprised that 1) smbd has not had such code added
> > to it already 2) that serious consideration has not been given
> > to using the new apache2 framework: careful analysis of libapr
> > shows significant code duplication and similarity in key areas.
> > 
> > l.
> > 
> > _______________________________________________
> > tng-technical at samba-tng dot org
> >
> -- 
> Matthew Keller
> signat-url:
> "No one ever says, 'I can't read that ASCII E-mail you sent me.'"

Information I post is with honesty, integrity, and the expectation that
you will take full responsibility if acting on the information contained,
and that, should you find it to be flawed or even mildly useful, you
will act with both honesty and integrity in return - and tell me.
<a href="">      </a> <br />
<a href="mailto:lkcl at"> lkcl at </a> <br />

More information about the samba-technical mailing list