summaryrefslogtreecommitdiff
path: root/source4/librpc/idl
diff options
context:
space:
mode:
Diffstat (limited to 'source4/librpc/idl')
-rw-r--r--source4/librpc/idl/lsa.idl4
-rw-r--r--source4/librpc/idl/samr.idl23
2 files changed, 16 insertions, 11 deletions
diff --git a/source4/librpc/idl/lsa.idl b/source4/librpc/idl/lsa.idl
index 622d34eef3..204466c784 100644
--- a/source4/librpc/idl/lsa.idl
+++ b/source4/librpc/idl/lsa.idl
@@ -25,8 +25,8 @@
/* Function: 0x02 */
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;
} lsa_Name;
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,