summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2008-02-27 16:03:17 +0100
committerGünther Deschner <gd@samba.org>2008-02-27 17:08:46 +0100
commit1affdac7ca14542d79c03670c75e6240c309a11d (patch)
tree2f696bcaa474e0fe767bae5fdbcd4744810609f0
parentf0b2ae2a183eb2576c829325dab9ed0cbc0437bd (diff)
downloadsamba-1affdac7ca14542d79c03670c75e6240c309a11d.tar.gz
samba-1affdac7ca14542d79c03670c75e6240c309a11d.tar.bz2
samba-1affdac7ca14542d79c03670c75e6240c309a11d.zip
Move MAX_LOOKUP_SIDS to lsa.idl.
Guenther (This used to be commit 61da5b8c003f9c8785a901fadb06f0dbb8139c5f)
-rw-r--r--source3/include/rpc_lsa.h3
-rw-r--r--source3/librpc/idl/lsa.idl3
2 files changed, 3 insertions, 3 deletions
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,