diff options
author | Andrew Tridgell <tridge@samba.org> | 2003-11-10 12:12:22 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2003-11-10 12:12:22 +0000 |
commit | 4659d4f9e2bfdbd253ff14e9181dd65023ff6c6a (patch) | |
tree | 5306b99dbe6c2cac68b8755c1a21fec127a84068 /source4/librpc/ndr/ndr_lsa.h | |
parent | a9fbdd4838a40b51df592023f5507b3db0923668 (diff) | |
download | samba-4659d4f9e2bfdbd253ff14e9181dd65023ff6c6a.tar.gz samba-4659d4f9e2bfdbd253ff14e9181dd65023ff6c6a.tar.bz2 samba-4659d4f9e2bfdbd253ff14e9181dd65023ff6c6a.zip |
added IDL and test for lsa_EnumAccountRights()
interestingly, win2000 doesn't return the same list of rights via
lsa_EnumAccountRights() and lsa_EnumPrivsAccount()
(This used to be commit 447c5f13d40d05a49b8bfa1c28c2797371ff5352)
Diffstat (limited to 'source4/librpc/ndr/ndr_lsa.h')
-rw-r--r-- | source4/librpc/ndr/ndr_lsa.h | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/source4/librpc/ndr/ndr_lsa.h b/source4/librpc/ndr/ndr_lsa.h index f8c4ab5f6a..a3d395760c 100644 --- a/source4/librpc/ndr/ndr_lsa.h +++ b/source4/librpc/ndr/ndr_lsa.h @@ -504,11 +504,23 @@ struct ENUMACCTWITHRIGHT { }; -struct ENUMACCTRIGHTS { +struct lsa_RightAttribute { + const char *name; +}; + +struct lsa_RightSet { + uint32 count; + struct lsa_Name *names; +}; + +struct lsa_EnumAccountRights { struct { + struct policy_handle *handle; + struct dom_sid2 *sid; } in; struct { + struct lsa_RightSet *rights; NTSTATUS result; } out; @@ -654,7 +666,7 @@ struct QUERYINFO2 { #define DCERPC_PRIV_GET_DISPNAME 33 #define DCERPC_DELETEOBJECT 34 #define DCERPC_ENUMACCTWITHRIGHT 35 -#define DCERPC_ENUMACCTRIGHTS 36 +#define DCERPC_LSA_ENUMACCOUNTRIGHTS 36 #define DCERPC_ADDACCTRIGHTS 37 #define DCERPC_REMOVEACCTRIGHTS 38 #define DCERPC_QUERYTRUSTDOMINFO 39 |