mirror of
https://github.com/samba-team/samba.git
synced 2025-02-05 21:57:51 +03:00
r5456: 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. (This used to be commit 9afe5acdc22adaed4b4b3d70ba3a1a7898256282)
This commit is contained in:
parent
acdf1aa308
commit
80a514a6ef
@ -390,8 +390,8 @@ typedef struct lsa_trans_name_info
|
||||
|
||||
} 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
|
||||
|
Loading…
x
Reference in New Issue
Block a user