summaryrefslogtreecommitdiff
path: root/source4/librpc/ndr/ndr_lsa.h
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2003-11-09 09:44:06 +0000
committerAndrew Tridgell <tridge@samba.org>2003-11-09 09:44:06 +0000
commit4bba087298b45b3dd403a8ee0a50179bff72f6c4 (patch)
treef537ed134fe277453d2a61685b49a69676f4320b /source4/librpc/ndr/ndr_lsa.h
parente3581c28bbc43c0c74f8f0622a464856ad243fb0 (diff)
downloadsamba-4bba087298b45b3dd403a8ee0a50179bff72f6c4.tar.gz
samba-4bba087298b45b3dd403a8ee0a50179bff72f6c4.tar.bz2
samba-4bba087298b45b3dd403a8ee0a50179bff72f6c4.zip
added lsa_EnumPrivs idl and test code
(This used to be commit fe12f81ba4583b1121bf128db55c4763736a205c)
Diffstat (limited to 'source4/librpc/ndr/ndr_lsa.h')
-rw-r--r--source4/librpc/ndr/ndr_lsa.h29
1 files changed, 23 insertions, 6 deletions
diff --git a/source4/librpc/ndr/ndr_lsa.h b/source4/librpc/ndr/ndr_lsa.h
index 92f596b692..1436c8cfab 100644
--- a/source4/librpc/ndr/ndr_lsa.h
+++ b/source4/librpc/ndr/ndr_lsa.h
@@ -13,6 +13,7 @@ struct lsa_Close {
struct lsa_Delete {
struct {
+ struct policy_handle *handle;
} in;
struct {
@@ -21,11 +22,33 @@ struct lsa_Delete {
};
+struct lsa_Name {
+ uint16 name_len;
+ uint16 name_size;
+ const char *name;
+};
+
+struct lsa_PrivEntry {
+ struct lsa_Name name;
+ uint32 luid_low;
+ uint32 luid_high;
+};
+
+struct lsa_PrivArray {
+ uint32 count;
+ struct lsa_PrivEntry *privs;
+};
+
struct lsa_EnumPrivs {
struct {
+ struct policy_handle *handle;
+ uint32 *resume_handle;
+ uint32 max_count;
} in;
struct {
+ uint32 *resume_handle;
+ struct lsa_PrivArray *privs;
NTSTATUS result;
} out;
@@ -173,12 +196,6 @@ struct lsa_EnumTrustDom {
};
-struct lsa_Name {
- uint16 name_len;
- uint16 name_size;
- const char *name;
-};
-
struct lsa_TranslatedSid {
uint16 sid_type;
uint32 rid;