summaryrefslogtreecommitdiff
path: root/source4/librpc/idl/samr.idl
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2003-11-15 07:51:19 +0000
committerAndrew Tridgell <tridge@samba.org>2003-11-15 07:51:19 +0000
commitbcfbaa312a8493aa2b6ef76a7ebeee55625e5a9c (patch)
tree539a1fb803b4b762bad8fdbad9d1e6446d5240f0 /source4/librpc/idl/samr.idl
parent5a28ca7bf3250f951826aa0726e4487b88062abe (diff)
downloadsamba-bcfbaa312a8493aa2b6ef76a7ebeee55625e5a9c.tar.gz
samba-bcfbaa312a8493aa2b6ef76a7ebeee55625e5a9c.tar.bz2
samba-bcfbaa312a8493aa2b6ef76a7ebeee55625e5a9c.zip
run LookupDomain on each domain returned from EnumDomains in samr
(This used to be commit 947b9f8ced486d34ee6710a921fb985ea14e2bb1)
Diffstat (limited to 'source4/librpc/idl/samr.idl')
-rw-r--r--source4/librpc/idl/samr.idl23
1 files changed, 14 insertions, 9 deletions
diff --git a/source4/librpc/idl/samr.idl b/source4/librpc/idl/samr.idl
index fd71c49369..6017f73f4e 100644
--- a/source4/librpc/idl/samr.idl
+++ b/source4/librpc/idl/samr.idl
@@ -35,19 +35,24 @@
/******************/
/* Function: 0x05 */
- NTSTATUS samr_LookupDomain ();
-
- /******************/
- /* Function: 0x06 */
-
typedef struct {
- uint16 name_len;
- uint16 name_size;
+ [value(2*strlen_m(r->name))] uint16 name_len;
+ [value(2*strlen_m(r->name))] uint16 name_size;
unistr_noterm *name;
} samr_Name;
+ NTSTATUS samr_LookupDomain (
+ [in,ref] policy_handle *handle,
+ [in,ref] samr_Name *domain,
+ [out] dom_sid2 *sid
+ );
+
+
+ /******************/
+ /* Function: 0x06 */
+
typedef struct {
- uint32 rid;
+ uint32 idx;
samr_Name name;
} samr_SamEntry;
@@ -287,7 +292,7 @@
/************************/
/* Function 0x3e */
- NTSTATUS samr_CONNECT4(
+ NTSTATUS samr_Connect4(
[in] unistr *system_name,
[in] uint32 unknown,
[in] uint32 access_mask,