diff options
author | Andrew Tridgell <tridge@samba.org> | 2003-11-15 07:51:19 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2003-11-15 07:51:19 +0000 |
commit | bcfbaa312a8493aa2b6ef76a7ebeee55625e5a9c (patch) | |
tree | 539a1fb803b4b762bad8fdbad9d1e6446d5240f0 /source4/librpc/idl | |
parent | 5a28ca7bf3250f951826aa0726e4487b88062abe (diff) | |
download | samba-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')
-rw-r--r-- | source4/librpc/idl/lsa.idl | 4 | ||||
-rw-r--r-- | source4/librpc/idl/samr.idl | 23 |
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, |