On Wed, Feb 12, 2003 at 04:26:21PM -0500, Michael B. Allen wrote: > > This is set at compile-time, not run-time. This line: > > > > #define FD_SETSIZE 2048 /* Max # of winbindd connections */ > > > > must occur before the first invocation of <sys/types>. > > > > This could be a build option, but it might be much simpler to hard-code > > it in local.h, which is what I did to fix it. > > Better still add a check to see if the limit has been reached and return > an error.
Better still why not use poll() instead of select() in the winbindd main loop? Tim.