From eaeb55ee9fa0989b4830f98e65c98dfa9ee731c2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=BCnther=20Deschner?= Date: Wed, 27 Feb 2008 16:13:39 +0100 Subject: [PATCH] Move MAX_REF_DOMAINS to lsa.idl. Guenther (This used to be commit 8f54ba22d21eb014624670d8fdba7a63d1af684d) --- source3/include/rpc_lsa.h | 3 --- source3/librpc/idl/lsa.idl | 2 ++ 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/source3/include/rpc_lsa.h b/source3/include/rpc_lsa.h index a5316c49e56..43359e34d0f 100644 --- a/source3/include/rpc_lsa.h +++ b/source3/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/source3/librpc/idl/lsa.idl b/source3/librpc/idl/lsa.idl index 228634ea1f0..12be4d835b4 100644 --- a/source3/librpc/idl/lsa.idl +++ b/source3/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;