From 1affdac7ca14542d79c03670c75e6240c309a11d Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Wed, 27 Feb 2008 16:03:17 +0100 Subject: Move MAX_LOOKUP_SIDS to lsa.idl. Guenther (This used to be commit 61da5b8c003f9c8785a901fadb06f0dbb8139c5f) --- source3/include/rpc_lsa.h | 3 --- source3/librpc/idl/lsa.idl | 3 +++ 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'source3') diff --git a/source3/include/rpc_lsa.h b/source3/include/rpc_lsa.h index 43359e34d0..2f23722d6a 100644 --- a/source3/include/rpc_lsa.h +++ b/source3/include/rpc_lsa.h @@ -60,7 +60,4 @@ LSA_POLICY_VIEW_LOCAL_INFORMATION |\ LSA_POLICY_LOOKUP_NAMES ) -/* This number is based on Win2k and later maximum response allowed */ -#define MAX_LOOKUP_SIDS 20480 /* 0x5000 */ - #endif /* _RPC_LSA_H */ diff --git a/source3/librpc/idl/lsa.idl b/source3/librpc/idl/lsa.idl index 12be4d835b..68dc0497da 100644 --- a/source3/librpc/idl/lsa.idl +++ b/source3/librpc/idl/lsa.idl @@ -425,6 +425,9 @@ import "security.idl"; [size_is(count)] lsa_TranslatedName *names; } lsa_TransNameArray; + /* This number is based on Win2k and later maximum response allowed */ + const int MAX_LOOKUP_SIDS = 0x5000; /* 20480 */ + [public] NTSTATUS lsa_LookupSids ( [in] policy_handle *handle, [in,ref] lsa_SidArray *sids, -- cgit