summaryrefslogtreecommitdiff
path: root/source4/librpc/idl
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2004-11-18 05:17:24 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:05:58 -0500
commit9b6c08a0d19929c8928e692de2156e81decc4048 (patch)
tree895d615f5f5bfd0bd528e46f43d816e20917345a /source4/librpc/idl
parent0b691afe81c2778de30f20c03ab2a5f29473f799 (diff)
downloadsamba-9b6c08a0d19929c8928e692de2156e81decc4048.tar.gz
samba-9b6c08a0d19929c8928e692de2156e81decc4048.tar.bz2
samba-9b6c08a0d19929c8928e692de2156e81decc4048.zip
r3837: added support for LsaLookupSids in the LSA rpc server. This allows the GUI ACL editor on w2k to
correctly display names instead of SIDs. (This used to be commit fdaa753578c7b80806d4040ed131f87ddbf988e0)
Diffstat (limited to 'source4/librpc/idl')
-rw-r--r--source4/librpc/idl/lsa.idl14
1 files changed, 7 insertions, 7 deletions
diff --git a/source4/librpc/idl/lsa.idl b/source4/librpc/idl/lsa.idl
index d3d3ad3da6..d0bf2ad3e1 100644
--- a/source4/librpc/idl/lsa.idl
+++ b/source4/librpc/idl/lsa.idl
@@ -237,14 +237,14 @@
} lsa_SidPtr;
typedef [public] struct {
- uint32 num_sids;
+ [range(0,1000)] uint32 num_sids;
[size_is(num_sids)] lsa_SidPtr *sids;
} lsa_SidArray;
NTSTATUS lsa_EnumAccounts (
[in,ref] policy_handle *handle,
[in,out,ref] uint32 *resume_handle,
- [in] uint32 num_entries,
+ [in,range(0,1000)] uint32 num_entries,
[out,ref] lsa_SidArray *sids
);
@@ -281,7 +281,7 @@
NTSTATUS lsa_EnumTrustDom (
[in,ref] policy_handle *handle,
[in,out,ref] uint32 *resume_handle,
- [in] uint32 num_entries,
+ [in,range(0,1000)] uint32 num_entries,
[out,ref] lsa_DomainList *domains
);
@@ -296,19 +296,19 @@
} lsa_TranslatedSid;
typedef struct {
- uint32 count;
+ [range(0,1000)] uint32 count;
[size_is(count)] lsa_TranslatedSid *sids;
} lsa_TransSidArray;
typedef struct {
- uint32 count;
+ [range(0,1000)] uint32 count;
[size_is(count)] lsa_TrustInformation *domains;
uint32 max_count;
} lsa_RefDomainList;
NTSTATUS lsa_LookupNames (
[in,ref] policy_handle *handle,
- [in] uint32 num_names,
+ [in,range(0,1000)] uint32 num_names,
[in,ref,size_is(num_names)] lsa_Name *names,
[out] lsa_RefDomainList *domains,
[in,out,ref] lsa_TransSidArray *sids,
@@ -327,7 +327,7 @@
} lsa_TranslatedName;
typedef struct {
- uint32 count;
+ [range(0,1000)] uint32 count;
[size_is(count)] lsa_TranslatedName *names;
} lsa_TransNameArray;