From: Günther Deschner Date: Wed, 27 Feb 2008 15:13:39 +0000 (+0100) Subject: Move MAX_REF_DOMAINS to lsa.idl. X-Git-Tag: samba-3.2.0pre2~37^2~112 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=8f54ba22d21eb014624670d8fdba7a63d1af684d;p=thirdparty%2Fsamba.git Move MAX_REF_DOMAINS to lsa.idl. Guenther --- diff --git a/source/include/rpc_lsa.h b/source/include/rpc_lsa.h index a5316c49e56..43359e34d0f 100644 --- a/source/include/rpc_lsa.h +++ b/source/include/rpc_lsa.h @@ -60,9 +60,6 @@ LSA_POLICY_VIEW_LOCAL_INFORMATION |\ LSA_POLICY_LOOKUP_NAMES ) -/*******************************************************/ -#define MAX_REF_DOMAINS 32 - /* This number is based on Win2k and later maximum response allowed */ #define MAX_LOOKUP_SIDS 20480 /* 0x5000 */ diff --git a/source/librpc/idl/lsa.idl b/source/librpc/idl/lsa.idl index 228634ea1f0..12be4d835b4 100644 --- a/source/librpc/idl/lsa.idl +++ b/source/librpc/idl/lsa.idl @@ -375,6 +375,8 @@ import "security.idl"; } lsa_TransSidArray; const int LSA_REF_DOMAIN_LIST_MULTIPLIER = 32; + const int MAX_REF_DOMAINS = LSA_REF_DOMAIN_LIST_MULTIPLIER; + typedef struct { [range(0,1000)] uint32 count; [size_is(count)] lsa_DomainInfo *domains;