]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
Move MAX_REF_DOMAINS to lsa.idl.
authorGünther Deschner <gd@samba.org>
Wed, 27 Feb 2008 15:13:39 +0000 (16:13 +0100)
committerGünther Deschner <gd@samba.org>
Wed, 27 Feb 2008 16:08:09 +0000 (17:08 +0100)
Guenther

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

index a5316c49e56fd24961dfc6a11698da5dcf0bf63d..43359e34d0f6dac07f35153841c843c9f0b2af62 100644 (file)
@@ -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 */
 
index 228634ea1f0d11b92821475d4b8416a486830ea8..12be4d835b4ead574cb7ccb481ebab04d421266c 100644 (file)
@@ -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;