MAX_OPEN_FILES mods work

Luke Kenneth Casson Leighton lkcl at switchboard.net
Tue Jul 21 16:09:21 GMT 1998


On Tue, 21 Jul 1998, Richard Sharpe wrote:

> At 10:50 AM 7/21/98 +1000, tridge at samba.anu.edu.au wrote:
> >> I am still worried about swat declaring its own Files variable and not
> >> seeming to use it, though.
> >
> >I think it's there bacause of a linking problem. SWAT needs to link to
> >some code that uses Files[] but Files[] is declared as part of a
> >module that SWAT can't link to, so SWAT needs to declare its own copy
> >to link correctly.
> >
> >Sorry for the vague description, I'm going from a hazy memory and
> >neglected to comment the declaration (phooey).
> 
> Hmmm, Well I looked at it a bit, and I don't think that Files is actually
> accessed by SWAT, but some of the .objs linked need it.
> 
> This brings up the issue (that Dan brought up). Samba is a bit if a mess!
> 
> There should be libraries that we can link against.  However, I know that
> this is going to be a lot of work.  Maybe we should ask the team to attack
> this prior to 2.0 being done.

it's fairly simple to do: you create lots of sub-directories (see
BRANCH_NTDOM).  without the sub-directories, it's a right royal messy
pain, by the way.



More information about the samba-technical mailing list