summaryrefslogtreecommitdiff
path: root/source4/librpc/ndr/ndr_lsa.h
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2003-11-10 11:37:19 +0000
committerAndrew Tridgell <tridge@samba.org>2003-11-10 11:37:19 +0000
commita9fbdd4838a40b51df592023f5507b3db0923668 (patch)
treee4b7e362d2bfac4fcc530dd5a90de4a70b2af40a /source4/librpc/ndr/ndr_lsa.h
parentdb7012397ff2295f64821703035607085a7344d8 (diff)
downloadsamba-a9fbdd4838a40b51df592023f5507b3db0923668.tar.gz
samba-a9fbdd4838a40b51df592023f5507b3db0923668.tar.bz2
samba-a9fbdd4838a40b51df592023f5507b3db0923668.zip
added IDL and test for lsa_EnumPrivsAccount()
(This used to be commit f8bbce69bf43984ddf35c22cb6a9e6ef22f8f6f4)
Diffstat (limited to 'source4/librpc/ndr/ndr_lsa.h')
-rw-r--r--source4/librpc/ndr/ndr_lsa.h22
1 files changed, 20 insertions, 2 deletions
diff --git a/source4/librpc/ndr/ndr_lsa.h b/source4/librpc/ndr/ndr_lsa.h
index 473cf370c6..f8c4ab5f6a 100644
--- a/source4/librpc/ndr/ndr_lsa.h
+++ b/source4/librpc/ndr/ndr_lsa.h
@@ -306,11 +306,29 @@ struct lsa_OpenAccount {
};
-struct ENUMPRIVSACCOUNT {
+struct lsa_LUID {
+ uint32 low;
+ uint32 high;
+};
+
+struct lsa_LUIDAttribute {
+ struct lsa_LUID luid;
+ uint32 attribute;
+};
+
+struct lsa_PrivilegeSet {
+ uint32 count;
+ struct lsa_LUIDAttribute *set;
+};
+
+struct lsa_EnumPrivsAccount {
struct {
+ struct policy_handle *handle;
} in;
struct {
+ struct lsa_PrivilegeSet *privs;
+ uint32 unknown;
NTSTATUS result;
} out;
@@ -618,7 +636,7 @@ struct QUERYINFO2 {
#define DCERPC_LSA_LOOKUPSIDS 15
#define DCERPC_CREATESECRET 16
#define DCERPC_LSA_OPENACCOUNT 17
-#define DCERPC_ENUMPRIVSACCOUNT 18
+#define DCERPC_LSA_ENUMPRIVSACCOUNT 18
#define DCERPC_ADDPRIVS 19
#define DCERPC_REMOVEPRIVS 20
#define DCERPC_GETQUOTAS 21