WHY? #define MAX_SAM_ENTRIES 250

Tim Potter tpot at valinux.com
Mon Jun 18 23:51:22 GMT 2001

Andrew Bartlett writes:

> I was attempting to figure out some of the problems surrounding Win9X
> user lists, and came across this interesing define:
> include/rpc_samr.h:569:#define MAX_SAM_ENTRIES 250
> Why is it so low?  Other comments in the code indicate it was 600 at
> some stage, but 250 is WAY to low, IMHO.  

Well the RPC code used to have a whole bunch of static buffers in
them.  Now talloc() is mostly used to allocate variable length
buffers for returning RPC data.

Try this:

int main()


More information about the samba-technical mailing list