Author: jmcd Date: 2005-02-19 10:41:51 +0000 (Sat, 19 Feb 2005) New Revision: 5456
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=5456 Log: Increase limit of mapped SIDS to 0x5000, which is what 2k and later do. NT has no limit. We still don't respond the way 2k would to requests larger, which is to actually allocate the memory and send back the entire response, plus a return status of NT_STATUS_NONE_MAPPED. Still looking into ways of doing this without crashing windows. Modified: branches/SAMBA_3_0/source/include/rpc_lsa.h Changeset: Modified: branches/SAMBA_3_0/source/include/rpc_lsa.h =================================================================== --- branches/SAMBA_3_0/source/include/rpc_lsa.h 2005-02-19 09:27:06 UTC (rev 5455) +++ branches/SAMBA_3_0/source/include/rpc_lsa.h 2005-02-19 10:41:51 UTC (rev 5456) @@ -390,8 +390,8 @@ } LSA_TRANS_NAME; -/* This number purly arbitary - just to prevent a client from requesting large amounts of memory */ -#define MAX_LOOKUP_SIDS 256 +/* This number is based on Win2k and later maximum response allowed */ +#define MAX_LOOKUP_SIDS 20480 /* LSA_TRANS_NAME_ENUM - LSA Translated Name Enumeration container */ typedef struct lsa_trans_name_enum_info