summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2008-10-15 20:46:35 +0200
committerGünther Deschner <gd@samba.org>2008-10-15 20:46:35 +0200
commita1b7b6d5b41df3585f2cd2ad5b5fca2fe22b1a40 (patch)
tree4e141fe337db03917d1b0892cac181a548f7f572 /source4
parentca54a563d64ab789b84f8b6d9ea4cb63dee2c210 (diff)
downloadsamba-a1b7b6d5b41df3585f2cd2ad5b5fca2fe22b1a40.tar.gz
samba-a1b7b6d5b41df3585f2cd2ad5b5fca2fe22b1a40.tar.bz2
samba-a1b7b6d5b41df3585f2cd2ad5b5fca2fe22b1a40.zip
idl: more lsa.idl merges.
Guenther
Diffstat (limited to 'source4')
-rw-r--r--source4/libcli/util/clilsa.c2
-rw-r--r--source4/librpc/idl/lsa.idl28
2 files changed, 15 insertions, 15 deletions
diff --git a/source4/libcli/util/clilsa.c b/source4/libcli/util/clilsa.c
index 1eb2de83d2..abca8f49b2 100644
--- a/source4/libcli/util/clilsa.c
+++ b/source4/libcli/util/clilsa.c
@@ -349,7 +349,7 @@ NTSTATUS smblsa_sid_del_privileges(struct smbcli_state *cli, struct dom_sid *sid
r.in.handle = &cli->lsa->handle;
r.in.sid = sid;
- r.in.unknown = 0;
+ r.in.remove_all = 0;
r.in.rights = rights;
return dcerpc_lsa_RemoveAccountRights(cli->lsa->pipe, mem_ctx, &r);
diff --git a/source4/librpc/idl/lsa.idl b/source4/librpc/idl/lsa.idl
index e22bbae030..dd9791d894 100644
--- a/source4/librpc/idl/lsa.idl
+++ b/source4/librpc/idl/lsa.idl
@@ -308,7 +308,7 @@ import "misc.idl", "security.idl";
/* Function: 0x0a */
[public] NTSTATUS lsa_CreateAccount (
[in] policy_handle *handle,
- [in] dom_sid2 *sid,
+ [in,ref] dom_sid2 *sid,
[in] uint32 access_mask,
[out] policy_handle *acct_handle
);
@@ -462,9 +462,9 @@ import "misc.idl", "security.idl";
/*****************************************/
/* Function: 0x11 */
- NTSTATUS lsa_OpenAccount (
+ NTSTATUS lsa_OpenAccount(
[in] policy_handle *handle,
- [in] dom_sid2 *sid,
+ [in,ref] dom_sid2 *sid,
[in] uint32 access_mask,
[out] policy_handle *acct_handle
);
@@ -494,7 +494,7 @@ import "misc.idl", "security.idl";
/* Function: 0x13 */
NTSTATUS lsa_AddPrivilegesToAccount(
[in] policy_handle *handle,
- [in] lsa_PrivilegeSet *privs
+ [in,ref] lsa_PrivilegeSet *privs
);
@@ -743,8 +743,8 @@ import "misc.idl", "security.idl";
/* Function: 0x1f */
NTSTATUS lsa_LookupPrivValue(
[in] policy_handle *handle,
- [in] lsa_String *name,
- [out] lsa_LUID *luid
+ [in,ref] lsa_String *name,
+ [out,ref] lsa_LUID *luid
);
@@ -796,8 +796,8 @@ import "misc.idl", "security.idl";
NTSTATUS lsa_EnumAccountRights (
[in] policy_handle *handle,
- [in] dom_sid2 *sid,
- [out] lsa_RightSet *rights
+ [in,ref] dom_sid2 *sid,
+ [out,ref] lsa_RightSet *rights
);
@@ -805,17 +805,17 @@ import "misc.idl", "security.idl";
/* Function: 0x25 */
NTSTATUS lsa_AddAccountRights (
[in] policy_handle *handle,
- [in] dom_sid2 *sid,
- [in] lsa_RightSet *rights
+ [in,ref] dom_sid2 *sid,
+ [in,ref] lsa_RightSet *rights
);
-
+
/**********************/
/* Function: 0x26 */
NTSTATUS lsa_RemoveAccountRights (
[in] policy_handle *handle,
- [in] dom_sid2 *sid,
- [in] uint32 unknown,
- [in] lsa_RightSet *rights
+ [in,ref] dom_sid2 *sid,
+ [in] uint8 remove_all,
+ [in,ref] lsa_RightSet *rights
);
/* Function: 0x27 */