svn commit: samba r5457 - in trunk/source/include: .
jmcd at samba.org
jmcd at samba.org
Sat Feb 19 10:43:11 GMT 2005
Author: jmcd
Date: 2005-02-19 10:43:11 +0000 (Sat, 19 Feb 2005)
New Revision: 5457
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=5457
Log:
Merge from 3.0
Increase lookup sids limit to 0x5000 to match win2k and later
Modified:
trunk/source/include/rpc_lsa.h
Changeset:
Modified: trunk/source/include/rpc_lsa.h
===================================================================
--- trunk/source/include/rpc_lsa.h 2005-02-19 10:41:51 UTC (rev 5456)
+++ trunk/source/include/rpc_lsa.h 2005-02-19 10:43:11 UTC (rev 5457)
@@ -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
More information about the samba-cvs
mailing list