summaryrefslogtreecommitdiff
path: root/source3/librpc/idl/lsa.idl
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 /source3/librpc/idl/lsa.idl
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)
Diffstat (limited to 'source3/librpc/idl/lsa.idl')
-rw-r--r--source3/librpc/idl/lsa.idl3
1 files changed, 3 insertions, 0 deletions
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,