WHY? #define MAX_SAM_ENTRIES 250
tpot at valinux.com
Tue Jun 19 02:22:36 GMT 2001
Andrew Bartlett writes:
> There are still a pile of uses of MAX_SAM_ENTRIES, including fixed size
> arrays. What would happen if I changed it to 2500?
You might run out of memory as 2400 * sizeof(something big) would
be allocated on the stack.
> In any case, I think my problem (Win9X user-level security lists
> failing) if occuring much earlier (Ie for well less than 250 users), but
> I thought I might ask.
Well this probably isn't the problem then.
It's kind of an ongoing project the removal of the static arrays
from the RPC code.
More information about the samba-technical