summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2008-02-27 16:13:39 +0100
committerGünther Deschner <gd@samba.org>2008-02-27 17:08:09 +0100
commiteaeb55ee9fa0989b4830f98e65c98dfa9ee731c2 (patch)
tree480b0425678f8bc3982c337026bcf8545806460c /source3
parent2d01ec2c390f8dd753600f22cefb17e7b8916ffd (diff)
downloadsamba-eaeb55ee9fa0989b4830f98e65c98dfa9ee731c2.tar.gz
samba-eaeb55ee9fa0989b4830f98e65c98dfa9ee731c2.tar.bz2
samba-eaeb55ee9fa0989b4830f98e65c98dfa9ee731c2.zip
Move MAX_REF_DOMAINS to lsa.idl.
Guenther (This used to be commit 8f54ba22d21eb014624670d8fdba7a63d1af684d)
Diffstat (limited to 'source3')
-rw-r--r--source3/include/rpc_lsa.h3
-rw-r--r--source3/librpc/idl/lsa.idl2
2 files changed, 2 insertions, 3 deletions
diff --git a/source3/include/rpc_lsa.h b/source3/include/rpc_lsa.h
index a5316c49e5..43359e34d0 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 228634ea1f..12be4d835b 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;