summaryrefslogtreecommitdiff
path: root/source4/librpc/ndr/ndr_samr.h
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/ndr/ndr_samr.h
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/ndr/ndr_samr.h')
-rw-r--r--source4/librpc/ndr/ndr_samr.h19
1 files changed, 11 insertions, 8 deletions
diff --git a/source4/librpc/ndr/ndr_samr.h b/source4/librpc/ndr/ndr_samr.h
index 20b58685de..f24dde1ec5 100644
--- a/source4/librpc/ndr/ndr_samr.h
+++ b/source4/librpc/ndr/ndr_samr.h
@@ -53,24 +53,27 @@ struct samr_Shutdown {
};
+struct samr_Name {
+ uint16 name_len;
+ uint16 name_size;
+ const char *name;
+};
+
struct samr_LookupDomain {
struct {
+ struct policy_handle *handle;
+ struct samr_Name *domain;
} in;
struct {
+ struct dom_sid2 *sid;
NTSTATUS result;
} out;
};
-struct samr_Name {
- uint16 name_len;
- uint16 name_size;
- const char *name;
-};
-
struct samr_SamEntry {
- uint32 rid;
+ uint32 idx;
struct samr_Name name;
};
@@ -645,7 +648,7 @@ struct samr_CONNECT3 {
};
-struct samr_CONNECT4 {
+struct samr_Connect4 {
struct {
const char *system_name;
uint32 unknown;