summaryrefslogtreecommitdiff
path: root/source4/librpc
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2004-12-19 07:20:55 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:07:31 -0500
commite52b216473bc88a0ef3fe7e6b57b4d2b99c9244e (patch)
tree0f9ed864d5cc25cd0a00ce341c64f255b9879cce /source4/librpc
parent424844da3216dca58df5fe1aa5ccf224444242e6 (diff)
downloadsamba-e52b216473bc88a0ef3fe7e6b57b4d2b99c9244e.tar.gz
samba-e52b216473bc88a0ef3fe7e6b57b4d2b99c9244e.tar.bz2
samba-e52b216473bc88a0ef3fe7e6b57b4d2b99c9244e.zip
r4279: added IDL and test code for lsa_AddPrivilegesToAccount() and lsa_RemovePrivilegesFromAccount()
(This used to be commit 705b870c73995609c8d3ebb24418538bfe20c05b)
Diffstat (limited to 'source4/librpc')
-rw-r--r--source4/librpc/idl/lsa.idl16
1 files changed, 13 insertions, 3 deletions
diff --git a/source4/librpc/idl/lsa.idl b/source4/librpc/idl/lsa.idl
index 42891eecf7..5928f44d32 100644
--- a/source4/librpc/idl/lsa.idl
+++ b/source4/librpc/idl/lsa.idl
@@ -368,7 +368,7 @@
} lsa_LUIDAttribute;
typedef struct {
- uint32 count;
+ [range(0,1000)] uint32 count;
uint32 unknown;
[size_is(count)] lsa_LUIDAttribute set[*];
} lsa_PrivilegeSet;
@@ -379,11 +379,21 @@
);
+ /****************************************/
/* Function: 0x13 */
- NTSTATUS lsa_AddPrivilegesToAccount();
+ NTSTATUS lsa_AddPrivilegesToAccount(
+ [in,ref] policy_handle *handle,
+ [in,ref] lsa_PrivilegeSet *privs
+ );
+
+ /****************************************/
/* Function: 0x14 */
- NTSTATUS lsa_RemovePrivilegesFromAccount();
+ NTSTATUS lsa_RemovePrivilegesFromAccount(
+ [in,ref] policy_handle *handle,
+ [in] uint8 remove_all,
+ [in] lsa_PrivilegeSet *privs
+ );
/* Function: 0x15 */
NTSTATUS lsa_GetQuotasForAccount();