Move MAX_LOOKUP_SIDS to lsa.idl.
authorGünther Deschner <gd@samba.org>
Wed, 27 Feb 2008 15:03:17 +0000 (16:03 +0100)
committerGünther Deschner <gd@samba.org>
Wed, 27 Feb 2008 16:08:46 +0000 (17:08 +0100)
Guenther
(This used to be commit 61da5b8c003f9c8785a901fadb06f0dbb8139c5f)

source3/include/rpc_lsa.h
source3/librpc/idl/lsa.idl

index 43359e34d0f6dac07f35153841c843c9f0b2af62..2f23722d6afc93a68eeca7560e920205d65b08de 100644 (file)
@@ -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 */
index 12be4d835b4ead574cb7ccb481ebab04d421266c..68dc0497dad75f474f9a945f8a2b654eae93ab9b 100644 (file)
@@ -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,