summaryrefslogtreecommitdiff
path: root/source4/librpc/idl/lsa.idl
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2005-10-16 15:47:28 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:44:48 -0500
commit68d82998d2e3133dd7b743b1cf3a78ee9d052a21 (patch)
treebc6933674a10433e37ee994ad7b65151de7bac7c /source4/librpc/idl/lsa.idl
parentd68319431e62e43c0ecb23328e3162128d823958 (diff)
downloadsamba-68d82998d2e3133dd7b743b1cf3a78ee9d052a21.tar.gz
samba-68d82998d2e3133dd7b743b1cf3a78ee9d052a21.tar.bz2
samba-68d82998d2e3133dd7b743b1cf3a78ee9d052a21.zip
r11096: Eliminate pointer_default_top()
(This used to be commit b773d848e854394f36351f97130a20a245367b2c)
Diffstat (limited to 'source4/librpc/idl/lsa.idl')
-rw-r--r--source4/librpc/idl/lsa.idl241
1 files changed, 120 insertions, 121 deletions
diff --git a/source4/librpc/idl/lsa.idl b/source4/librpc/idl/lsa.idl
index 0927e6ef85..3dbb12fc71 100644
--- a/source4/librpc/idl/lsa.idl
+++ b/source4/librpc/idl/lsa.idl
@@ -8,7 +8,6 @@
version(0.0),
endpoint("ncacn_np:[\\pipe\\lsarpc]","ncacn_np:[\\pipe\\lsass]", "ncacn_ip_tcp:", "ncalrpc:"),
pointer_default(unique),
- pointer_default_top(unique),
helpstring("Local Security Authority"),
depends(security)
] interface lsarpc
@@ -41,14 +40,14 @@
/******************/
/* Function: 0x00 */
NTSTATUS lsa_Close (
- [in,out,ref] policy_handle *handle
+ [in,out] policy_handle *handle
);
/******************/
/* Function: 0x01 */
NTSTATUS lsa_Delete (
- [in,ref] policy_handle *handle
+ [in] policy_handle *handle
);
@@ -70,19 +69,19 @@
} lsa_PrivArray;
NTSTATUS lsa_EnumPrivs (
- [in,ref] policy_handle *handle,
- [in,out,ref] uint32 *resume_handle,
+ [in] policy_handle *handle,
+ [in,out] uint32 *resume_handle,
[in] uint32 max_count,
- [out,ref] lsa_PrivArray *privs
+ [out] lsa_PrivArray *privs
);
/******************/
/* Function: 0x03 */
NTSTATUS lsa_QuerySecurity (
- [in,ref] policy_handle *handle,
+ [in] policy_handle *handle,
[in] security_secinfo sec_info,
- [out] sec_desc_buf *sdbuf
+ [out,unique] sec_desc_buf *sdbuf
);
@@ -117,10 +116,10 @@
/* notice the screwup with the system_name - thats why MS created
OpenPolicy2 */
NTSTATUS lsa_OpenPolicy (
- [in] uint16 *system_name,
- [in,ref] lsa_ObjectAttribute *attr,
+ [in,unique] uint16 *system_name,
+ [in] lsa_ObjectAttribute *attr,
[in] uint32 access_mask,
- [out,ref] policy_handle *handle
+ [out] policy_handle *handle
);
@@ -232,9 +231,9 @@
} lsa_PolicyInformation;
NTSTATUS lsa_QueryInfoPolicy (
- [in,ref] policy_handle *handle,
- [in] uint16 level,
- [out,switch_is(level)] lsa_PolicyInformation *info
+ [in] policy_handle *handle,
+ [in] uint16 level,
+ [out,unique,switch_is(level)] lsa_PolicyInformation *info
);
/******************/
@@ -248,10 +247,10 @@
/******************/
/* Function: 0x0a */
NTSTATUS lsa_CreateAccount (
- [in,ref] policy_handle *handle,
- [in,ref] dom_sid2 *sid,
- [in] uint32 access_mask,
- [out,ref] policy_handle *acct_handle
+ [in] policy_handle *handle,
+ [in] dom_sid2 *sid,
+ [in] uint32 access_mask,
+ [out] policy_handle *acct_handle
);
/******************/
@@ -269,10 +268,10 @@
} lsa_SidArray;
NTSTATUS lsa_EnumAccounts (
- [in,ref] policy_handle *handle,
- [in,out,ref] uint32 *resume_handle,
+ [in] policy_handle *handle,
+ [in,out] uint32 *resume_handle,
[in,range(0,8192)] uint32 num_entries,
- [out,ref] lsa_SidArray *sids
+ [out] lsa_SidArray *sids
);
@@ -285,10 +284,10 @@
} lsa_TrustInformation;
NTSTATUS lsa_CreateTrustedDomain(
- [in,ref] policy_handle *handle,
- [in,ref] lsa_TrustInformation *info,
+ [in] policy_handle *handle,
+ [in] lsa_TrustInformation *info,
[in] uint32 access_mask,
- [out,ref] policy_handle *trustdom_handle
+ [out] policy_handle *trustdom_handle
);
@@ -309,10 +308,10 @@
} lsa_DomainList;
NTSTATUS lsa_EnumTrustDom (
- [in,ref] policy_handle *handle,
- [in,out,ref] uint32 *resume_handle,
+ [in] policy_handle *handle,
+ [in,out] uint32 *resume_handle,
[in,range(0,1000)] uint32 max_size,
- [out,ref] lsa_DomainList *domains
+ [out] lsa_DomainList *domains
);
@@ -348,13 +347,13 @@
} lsa_RefDomainList;
NTSTATUS lsa_LookupNames (
- [in,ref] policy_handle *handle,
+ [in] policy_handle *handle,
[in,range(0,1000)] uint32 num_names,
[in,size_is(num_names)] lsa_String names[],
- [out] lsa_RefDomainList *domains,
- [in,out,ref] lsa_TransSidArray *sids,
+ [out,unique] lsa_RefDomainList *domains,
+ [in,out] lsa_TransSidArray *sids,
[in] uint16 level,
- [in,out,ref] uint32 *count
+ [in,out] uint32 *count
);
@@ -373,31 +372,31 @@
} lsa_TransNameArray;
NTSTATUS lsa_LookupSids (
- [in,ref] policy_handle *handle,
- [in,ref] lsa_SidArray *sids,
- [out] lsa_RefDomainList *domains,
- [in,out,ref] lsa_TransNameArray *names,
+ [in] policy_handle *handle,
+ [in] lsa_SidArray *sids,
+ [out,unique] lsa_RefDomainList *domains,
+ [in,out] lsa_TransNameArray *names,
[in] uint16 level,
- [in,out,ref] uint32 *count
+ [in,out] uint32 *count
);
/* Function: 0x10 */
NTSTATUS lsa_CreateSecret(
- [in,ref] policy_handle *handle,
+ [in] policy_handle *handle,
[in] lsa_String name,
[in] uint32 access_mask,
- [out,ref] policy_handle *sec_handle
+ [out] policy_handle *sec_handle
);
/*****************************************/
/* Function: 0x11 */
NTSTATUS lsa_OpenAccount (
- [in,ref] policy_handle *handle,
- [in,ref] dom_sid2 *sid,
+ [in] policy_handle *handle,
+ [in] dom_sid2 *sid,
[in] uint32 access_mask,
- [out,ref] policy_handle *acct_handle
+ [out] policy_handle *acct_handle
);
@@ -416,25 +415,25 @@
} lsa_PrivilegeSet;
NTSTATUS lsa_EnumPrivsAccount (
- [in,ref] policy_handle *handle,
- [out] lsa_PrivilegeSet *privs
+ [in] policy_handle *handle,
+ [out,unique] lsa_PrivilegeSet *privs
);
/****************************************/
/* Function: 0x13 */
NTSTATUS lsa_AddPrivilegesToAccount(
- [in,ref] policy_handle *handle,
- [in,ref] lsa_PrivilegeSet *privs
+ [in] policy_handle *handle,
+ [in] lsa_PrivilegeSet *privs
);
/****************************************/
/* Function: 0x14 */
NTSTATUS lsa_RemovePrivilegesFromAccount(
- [in,ref] policy_handle *handle,
+ [in] policy_handle *handle,
[in] uint8 remove_all,
- [in] lsa_PrivilegeSet *privs
+ [in,unique] lsa_PrivilegeSet *privs
);
/* Function: 0x15 */
@@ -450,10 +449,10 @@
/* Function: 0x19 */
NTSTATUS lsa_OpenTrustedDomain(
- [in,ref] policy_handle *handle,
- [in,ref] dom_sid2 *sid,
+ [in] policy_handle *handle,
+ [in] dom_sid2 *sid,
[in] uint32 access_mask,
- [out,ref] policy_handle *trustdom_handle
+ [out] policy_handle *trustdom_handle
);
typedef [flag(NDR_PAHEX)] struct {
@@ -554,9 +553,9 @@
/* Function: 0x1a */
NTSTATUS lsa_QueryTrustedDomainInfo(
- [in,ref] policy_handle *trustdom_handle,
- [in] lsa_TrustDomInfoEnum level,
- [out,switch_is(level)] lsa_TrustedDomainInfo *info
+ [in] policy_handle *trustdom_handle,
+ [in] lsa_TrustDomInfoEnum level,
+ [out,switch_is(level),unique] lsa_TrustedDomainInfo *info
);
/* Function: 0x1b */
@@ -564,18 +563,18 @@
/* Function: 0x1c */
NTSTATUS lsa_OpenSecret(
- [in,ref] policy_handle *handle,
+ [in] policy_handle *handle,
[in] lsa_String name,
[in] uint32 access_mask,
- [out,ref] policy_handle *sec_handle
+ [out] policy_handle *sec_handle
);
/* Function: 0x1d */
NTSTATUS lsa_SetSecret(
- [in,ref] policy_handle *sec_handle,
- [in] lsa_DATA_BUF *new_val,
- [in] lsa_DATA_BUF *old_val
+ [in] policy_handle *sec_handle,
+ [in,unique] lsa_DATA_BUF *new_val,
+ [in,unique] lsa_DATA_BUF *old_val
);
typedef struct {
@@ -584,38 +583,38 @@
/* Function: 0x1e */
NTSTATUS lsa_QuerySecret (
- [in,ref] policy_handle *sec_handle,
- [in,out] lsa_DATA_BUF_PTR *new_val,
- [in,out] NTTIME_hyper *new_mtime,
- [in,out] lsa_DATA_BUF_PTR *old_val,
- [in,out] NTTIME_hyper *old_mtime
+ [in] policy_handle *sec_handle,
+ [in,out,unique] lsa_DATA_BUF_PTR *new_val,
+ [in,out,unique] NTTIME_hyper *new_mtime,
+ [in,out,unique] lsa_DATA_BUF_PTR *old_val,
+ [in,out,unique] NTTIME_hyper *old_mtime
);
/* Function: 0x1f */
NTSTATUS lsa_LookupPrivValue(
- [in,ref] policy_handle *handle,
- [in,ref] lsa_String *name,
- [out,ref] lsa_LUID *luid
+ [in] policy_handle *handle,
+ [in] lsa_String *name,
+ [out] lsa_LUID *luid
);
/* Function: 0x20 */
NTSTATUS lsa_LookupPrivName (
- [in,ref] policy_handle *handle,
- [in,ref] lsa_LUID *luid,
- [out] lsa_String *name
+ [in] policy_handle *handle,
+ [in] lsa_LUID *luid,
+ [out,unique] lsa_String *name
);
/*******************/
/* Function: 0x21 */
NTSTATUS lsa_LookupPrivDisplayName (
- [in,ref] policy_handle *handle,
- [in,ref] lsa_String *name,
- [out] lsa_String *disp_name,
+ [in] policy_handle *handle,
+ [in] lsa_String *name,
+ [out,unique] lsa_String *disp_name,
/* see http://www.microsoft.com/globaldev/nlsweb/ for
language definitions */
- [in,out,ref] uint16 *language_id,
+ [in,out] uint16 *language_id,
[in] uint16 unknown
);
@@ -626,9 +625,9 @@
/*******************/
/* Function: 0x23 */
NTSTATUS lsa_EnumAccountsWithUserRight (
- [in,ref] policy_handle *handle,
- [in] lsa_String *name,
- [out,ref] lsa_SidArray *sids
+ [in] policy_handle *handle,
+ [in,unique] lsa_String *name,
+ [out] lsa_SidArray *sids
);
/* Function: 0x24 */
@@ -642,35 +641,35 @@
} lsa_RightSet;
NTSTATUS lsa_EnumAccountRights (
- [in,ref] policy_handle *handle,
- [in,ref] dom_sid2 *sid,
- [out,ref] lsa_RightSet *rights
+ [in] policy_handle *handle,
+ [in] dom_sid2 *sid,
+ [out] lsa_RightSet *rights
);
/**********************/
/* Function: 0x25 */
NTSTATUS lsa_AddAccountRights (
- [in,ref] policy_handle *handle,
- [in,ref] dom_sid2 *sid,
- [in,ref] lsa_RightSet *rights
+ [in] policy_handle *handle,
+ [in] dom_sid2 *sid,
+ [in] lsa_RightSet *rights
);
/**********************/
/* Function: 0x26 */
NTSTATUS lsa_RemoveAccountRights (
- [in,ref] policy_handle *handle,
- [in,ref] dom_sid2 *sid,
+ [in] policy_handle *handle,
+ [in] dom_sid2 *sid,
[in] uint32 unknown,
- [in,ref] lsa_RightSet *rights
+ [in] lsa_RightSet *rights
);
/* Function: 0x27 */
NTSTATUS lsa_QueryTrustedDomainInfoBySid(
- [in,ref] policy_handle *handle,
- [in,ref] dom_sid2 *dom_sid,
+ [in] policy_handle *handle,
+ [in] dom_sid2 *dom_sid,
[in] lsa_TrustDomInfoEnum level,
- [out,switch_is(level)] lsa_TrustedDomainInfo *info
+ [out,switch_is(level),unique] lsa_TrustedDomainInfo *info
);
/* Function: 0x28 */
@@ -686,10 +685,10 @@
/**********************/
/* Function: 0x2c */
NTSTATUS lsa_OpenPolicy2 (
- [in] unistr *system_name,
- [in,ref] lsa_ObjectAttribute *attr,
+ [in,unique] unistr *system_name,
+ [in] lsa_ObjectAttribute *attr,
[in] uint32 access_mask,
- [out,ref] policy_handle *handle
+ [out] policy_handle *handle
);
/**********************/
@@ -699,18 +698,18 @@
} lsa_StringPointer;
NTSTATUS lsa_GetUserName(
- [in] unistr *system_name,
- [in,out] lsa_String *account_name,
- [in,out] lsa_StringPointer *authority_name
+ [in,unique] unistr *system_name,
+ [in,out,unique] lsa_String *account_name,
+ [in,out,unique] lsa_StringPointer *authority_name
);
/**********************/
/* Function: 0x2e */
NTSTATUS lsa_QueryInfoPolicy2(
- [in,ref] policy_handle *handle,
+ [in] policy_handle *handle,
[in] uint16 level,
- [out,switch_is(level)] lsa_PolicyInformation *info
+ [out,unique,switch_is(level)] lsa_PolicyInformation *info
);
/* Function 0x2f */
@@ -719,10 +718,10 @@
/**********************/
/* Function 0x30 */
NTSTATUS lsa_QueryTrustedDomainInfoByName(
- [in,ref] policy_handle *handle,
+ [in] policy_handle *handle,
[in] lsa_String trusted_domain,
[in] lsa_TrustDomInfoEnum level,
- [out,switch_is(level)] lsa_TrustedDomainInfo *info
+ [out,unique,switch_is(level)] lsa_TrustedDomainInfo *info
);
/* Function 0x31 */
@@ -766,25 +765,25 @@
} lsa_DomainInformationPolicy;
NTSTATUS lsa_QueryDomainInformationPolicy(
- [in,ref] policy_handle *handle,
+ [in] policy_handle *handle,
[in] uint16 level,
- [out,switch_is(level)] lsa_DomainInformationPolicy *info
+ [out,unique,switch_is(level)] lsa_DomainInformationPolicy *info
);
/* Function 0x36 */
NTSTATUS lsa_SetDomainInformationPolicy(
- [in,ref] policy_handle *handle,
+ [in] policy_handle *handle,
[in] uint16 level,
- [in,switch_is(level)] lsa_DomainInformationPolicy *info
+ [in,unique,switch_is(level)] lsa_DomainInformationPolicy *info
);
/**********************/
/* Function 0x37 */
NTSTATUS lsa_OpenTrustedDomainByName(
- [in,ref] policy_handle *handle,
+ [in] policy_handle *handle,
[in] lsa_String name,
[in] uint32 access_mask,
- [out,ref] policy_handle *trustdom_handle
+ [out] policy_handle *trustdom_handle
);
/* Function 0x38 */
@@ -806,12 +805,12 @@
} lsa_TransNameArray2;
NTSTATUS lsa_LookupSids2(
- [in,ref] policy_handle *handle,
- [in,ref] lsa_SidArray *sids,
- [out] lsa_RefDomainList *domains,
- [in,out,ref] lsa_TransNameArray2 *names,
+ [in] policy_handle *handle,
+ [in] lsa_SidArray *sids,
+ [out,unique] lsa_RefDomainList *domains,
+ [in,out] lsa_TransNameArray2 *names,
[in] uint16 level,
- [in,out,ref] uint32 *count,
+ [in,out] uint32 *count,
[in] uint32 unknown1,
[in] uint32 unknown2
);
@@ -832,13 +831,13 @@
} lsa_TransSidArray2;
NTSTATUS lsa_LookupNames2 (
- [in,ref] policy_handle *handle,
+ [in] policy_handle *handle,
[in,range(0,1000)] uint32 num_names,
[in,size_is(num_names)] lsa_String names[],
- [out] lsa_RefDomainList *domains,
- [in,out,ref] lsa_TransSidArray2 *sids,
+ [out,unique] lsa_RefDomainList *domains,
+ [in,out] lsa_TransSidArray2 *sids,
[in] uint16 level,
- [in,out,ref] uint32 *count,
+ [in,out] uint32 *count,
[in] uint32 unknown1,
[in] uint32 unknown2
);
@@ -885,13 +884,13 @@
} lsa_TransSidArray3;
NTSTATUS lsa_LookupNames3 (
- [in,ref] policy_handle *handle,
+ [in] policy_handle *handle,
[in,range(0,1000)] uint32 num_names,
[in,size_is(num_names)] lsa_String names[],
- [out] lsa_RefDomainList *domains,
- [in,out,ref] lsa_TransSidArray3 *sids,
+ [out,unique] lsa_RefDomainList *domains,
+ [in,out] lsa_TransSidArray3 *sids,
[in] uint16 level,
- [in,out,ref] uint32 *count,
+ [in,out] uint32 *count,
[in] uint32 unknown1,
[in] uint32 unknown2
);
@@ -921,11 +920,11 @@
/* Function 0x4c */
NTSTATUS lsa_LookupSids3(
- [in,ref] lsa_SidArray *sids,
- [out] lsa_RefDomainList *domains,
- [in,out,ref] lsa_TransNameArray2 *names,
+ [in] lsa_SidArray *sids,
+ [out,unique] lsa_RefDomainList *domains,
+ [in,out] lsa_TransNameArray2 *names,
[in] uint16 level,
- [in,out,ref] uint32 *count,
+ [in,out] uint32 *count,
[in] uint32 unknown1,
[in] uint32 unknown2
);