depends(security)
] interface lsarpc
{
+ declare bitmap security_secinfo;
+
+ typedef [public,noejs] struct {
+ [value(2*strlen_m(string))] uint16 length;
+ [value(2*strlen_m(string))] uint16 size;
+ [charset(UTF16),size_is(size),length_is(length)] uint8 *string;
+ } lsa_String;
+
+ typedef [public] struct {
+ [value(2*strlen_m(string))] uint16 length;
+ [value(2*(strlen_m(string)+1))] uint16 size;
+ [flag(STR_SIZE4|STR_LEN4|STR_NOTERM|STR_LARGE_SIZE)] string *string;
+ } lsa_StringLarge;
+
+ typedef [public] struct {
+ uint32 count;
+ [size_is(count)] lsa_String *names;
+ } lsa_Strings;
+
+ typedef [public] struct {
+ [value(strlen_m(string))] uint16 length;
+ [value(strlen_m(string))] uint16 size;
+ ascstr_noterm *string;
+ } lsa_AsciiString;
+
/******************/
/* 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
);
/******************/
/* Function: 0x02 */
-
- typedef struct {
- [value(2*strlen_m(r->string))] uint16 length;
- [value(r->length)] uint16 size;
- unistr_noterm *string;
- } lsa_String;
-
typedef struct {
uint32 low;
uint32 high;
typedef struct {
uint32 count;
- [size_is(count)] lsa_PrivEntry *privs[];
+ [size_is(count)] lsa_PrivEntry *privs;
} 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] uint32 sec_info,
- [out] sec_desc_buf *sdbuf
+ [in] policy_handle *handle,
+ [in] security_secinfo sec_info,
+ [out,unique] sec_desc_buf *sdbuf
);
typedef struct {
uint32 len; /* ignored */
uint8 *root_dir;
- unistr *object_name;
+ [string,charset(UTF16)] uint16 *object_name;
uint32 attributes;
security_descriptor *sec_desc;
lsa_QosInfo *sec_qos;
/* 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
);
typedef struct {
uint32 auditing_mode;
- [size_is(count)] uint32 *settings[];
+ [size_is(count)] uint32 *settings;
uint32 count;
} lsa_AuditEventsInfo;
} lsa_AuditFullQueryInfo;
typedef struct {
- lsa_String name;
- lsa_String dns_domain;
- lsa_String dns_forest;
+ /* it's important that we use the lsa_StringLarge here,
+ * because otherwise windows clients result with such dns hostnames
+ * e.g. w2k3-client.samba4.samba.orgsamba4.samba.org
+ * where it should be
+ * w2k3-client.samba4.samba.org
+ */
+ lsa_StringLarge name;
+ lsa_StringLarge dns_domain;
+ lsa_StringLarge dns_forest;
GUID domain_guid;
dom_sid2 *sid;
} lsa_DnsDomainInfo;
} 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
);
/******************/
/******************/
/* 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
);
/******************/
typedef [public] struct {
[range(0,1000)] uint32 num_sids;
- [size_is(num_sids)] lsa_SidPtr *sids[];
+ [size_is(num_sids)] lsa_SidPtr *sids;
} 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
);
} 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
);
typedef struct {
uint32 count;
- [size_is(count)] lsa_DomainInformation *domains[];
+ [size_is(count)] lsa_DomainInformation *domains;
} 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
);
typedef struct {
[range(0,1000)] uint32 count;
- [size_is(count)] lsa_TranslatedSid *sids[];
+ [size_is(count)] lsa_TranslatedSid *sids;
} lsa_TransSidArray;
typedef struct {
[range(0,1000)] uint32 count;
- [size_is(count)] lsa_TrustInformation *domains[];
+ [size_is(count)] lsa_TrustInformation *domains;
uint32 max_count;
} 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
);
typedef struct {
[range(0,1000)] uint32 count;
- [size_is(count)] lsa_TranslatedName *names[];
+ [size_is(count)] lsa_TranslatedName *names;
} 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
);
} 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 */
/* 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 {
uint32 length;
uint32 size;
- [size_is(size),length_is(length)] uint8 *data[];
+ [size_is(size),length_is(length)] uint8 *data;
} lsa_DATA_BUF;
typedef [flag(NDR_PAHEX)] struct {
[range(0,65536)] uint32 size;
- [size_is(size)] uint8 *data[];
+ [size_is(size)] uint8 *data;
} lsa_DATA_BUF2;
typedef enum {
- LSA_TRUSTED_DOMAIN_INFO_NAME = 1,
- LSA_TRUSTED_DOMAIN_INFO_2 = 2,
- LSA_TRUSTED_DOMAIN_INFO_POSIX_OFFSET = 3,
- LSA_TRUSTED_DOMAIN_INFO_PASSWORD = 4,
- LSA_TRUSTED_DOMAIN_INFO_5 = 5,
- LSA_TRUSTED_DOMAIN_INFO_INFO_EX = 6,
- LSA_TRUSTED_DOMAIN_INFO_AUTH_INFO = 7,
- LSA_TRUSTED_DOMAIN_INFO_FULL_INFO = 8,
- LSA_TRUSTED_DOMAIN_INFO_11 = 11,
- LSA_TRUSTED_DOMAIN_INFO_INFO_ALL = 12
+ LSA_TRUSTED_DOMAIN_INFO_NAME = 1,
+ LSA_TRUSTED_DOMAIN_INFO_CONTROLLERS_INFO = 2,
+ LSA_TRUSTED_DOMAIN_INFO_POSIX_OFFSET = 3,
+ LSA_TRUSTED_DOMAIN_INFO_PASSWORD = 4,
+ LSA_TRUSTED_DOMAIN_INFO_BASIC = 5,
+ LSA_TRUSTED_DOMAIN_INFO_INFO_EX = 6,
+ LSA_TRUSTED_DOMAIN_INFO_AUTH_INFO = 7,
+ LSA_TRUSTED_DOMAIN_INFO_FULL_INFO = 8,
+ LSA_TRUSTED_DOMAIN_INFO_11 = 11,
+ LSA_TRUSTED_DOMAIN_INFO_INFO_ALL = 12
} lsa_TrustDomInfoEnum;
typedef struct {
typedef struct {
lsa_String netbios_name;
dom_sid2 *sid;
- } lsa_TrustDomainInfo5;
+ } lsa_TrustDomainInfoBasic;
typedef struct {
lsa_String domain_name;
[case(LSA_TRUSTED_DOMAIN_INFO_NAME)] lsa_TrustDomainInfoName name;
[case(LSA_TRUSTED_DOMAIN_INFO_POSIX_OFFSET)] lsa_TrustDomainInfoPosixOffset posix_offset;
[case(LSA_TRUSTED_DOMAIN_INFO_PASSWORD)] lsa_TrustDomainInfoPassword password;
- [case(LSA_TRUSTED_DOMAIN_INFO_5)] lsa_TrustDomainInfo5 info5;
+ [case(LSA_TRUSTED_DOMAIN_INFO_BASIC)] lsa_TrustDomainInfoBasic info_basic;
[case(LSA_TRUSTED_DOMAIN_INFO_INFO_EX)] lsa_TrustDomainInfoInfoEx info_ex;
[case(LSA_TRUSTED_DOMAIN_INFO_AUTH_INFO)] lsa_TrustDomainInfoAuthInfo auth_info;
[case(LSA_TRUSTED_DOMAIN_INFO_FULL_INFO)] lsa_TrustDomainInfoFullInfo full_info;
/* 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 */
/* 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 {
/* 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
);
/*******************/
/* 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 */
typedef struct {
- unistr *name;
+ [string,charset(UTF16)] uint16 *name;
} lsa_RightAttribute;
typedef struct {
uint32 count;
- [size_is(count)] lsa_String *names[];
+ [size_is(count)] lsa_String *names;
} 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 */
/**********************/
/* Function: 0x2c */
NTSTATUS lsa_OpenPolicy2 (
- [in] unistr *system_name,
- [in,ref] lsa_ObjectAttribute *attr,
+ [in,unique] [string,charset(UTF16)] uint16 *system_name,
+ [in] lsa_ObjectAttribute *attr,
[in] uint32 access_mask,
- [out,ref] policy_handle *handle
+ [out] policy_handle *handle
);
/**********************/
} lsa_StringPointer;
NTSTATUS lsa_GetUserName(
- [in] unistr *system_name,
- [in,out] lsa_String *account_name,
- [in,out] lsa_StringPointer *authority_name
+ [in,unique] [string,charset(UTF16)] uint16 *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 */
/**********************/
/* 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 */
NTSTATUS lsa_CloseTrustedDomainEx();
/* Function 0x35 */
- NTSTATUS lsa_QueryDomainInformationPolicy();
+
+ /* w2k3 returns either 0x000bbbd000000000 or 0x000a48e800000000
+ for unknown6 - gd */
+ typedef struct {
+ uint32 enforce_restrictions;
+ hyper service_tkt_lifetime;
+ hyper user_tkt_lifetime;
+ hyper user_tkt_renewaltime;
+ hyper clock_skew;
+ hyper unknown6;
+ } lsa_DomainInfoKerberos;
+
+ typedef struct {
+ uint32 blob_size;
+ [size_is(blob_size)] uint8 *efs_blob;
+ } lsa_DomainInfoEfs;
+
+ typedef enum {
+ LSA_DOMAIN_INFO_POLICY_EFS=2,
+ LSA_DOMAIN_INFO_POLICY_KERBEROS=3
+ } lsa_DomainInfoEnum;
+
+ typedef [switch_type(uint16)] union {
+ [case(LSA_DOMAIN_INFO_POLICY_EFS)] lsa_DomainInfoEfs efs_info;
+ [case(LSA_DOMAIN_INFO_POLICY_KERBEROS)] lsa_DomainInfoKerberos kerberos_info;
+ } lsa_DomainInformationPolicy;
+
+ NTSTATUS lsa_QueryDomainInformationPolicy(
+ [in] policy_handle *handle,
+ [in] uint16 level,
+ [out,unique,switch_is(level)] lsa_DomainInformationPolicy *info
+ );
/* Function 0x36 */
- NTSTATUS lsa_SetDomInfoPolicy();
+ NTSTATUS lsa_SetDomainInformationPolicy(
+ [in] policy_handle *handle,
+ [in] uint16 level,
+ [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 */
typedef struct {
[range(0,1000)] uint32 count;
- [size_is(count)] lsa_TranslatedName2 *names[];
+ [size_is(count)] lsa_TranslatedName2 *names;
} 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
);
typedef struct {
[range(0,1000)] uint32 count;
- [size_is(count)] lsa_TranslatedSid2 *sids[];
+ [size_is(count)] lsa_TranslatedSid2 *sids;
} 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
);
typedef struct {
[range(0,1000)] uint32 count;
- [size_is(count)] lsa_TranslatedSid3 *sids[];
+ [size_is(count)] lsa_TranslatedSid3 *sids;
} 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
);
/* 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
);