1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-27 22:50:26 +03:00

r21374: lsa tests

(This used to be commit bfc2a1c50596ac3aee871de63fdd99362a65d7d8)
This commit is contained in:
Jelmer Vernooij 2007-02-15 22:07:18 +00:00 committed by Gerald (Jerry) Carter
parent 8bcad6b901
commit 5f23c888af
4 changed files with 1120 additions and 5 deletions

View File

@ -116,7 +116,7 @@ import "security.idl";
/* notice the screwup with the system_name - thats why MS created
OpenPolicy2 */
NTSTATUS lsa_OpenPolicy (
[public] NTSTATUS lsa_OpenPolicy (
[in,unique] uint16 *system_name,
[in] lsa_ObjectAttribute *attr,
[in] uint32 access_mask,
@ -339,7 +339,7 @@ import "security.idl";
uint32 max_size;
} lsa_RefDomainList;
NTSTATUS lsa_LookupNames (
[public] NTSTATUS lsa_LookupNames (
[in] policy_handle *handle,
[in,range(0,1000)] uint32 num_names,
[in,size_is(num_names)] lsa_String names[],
@ -364,7 +364,7 @@ import "security.idl";
[size_is(count)] lsa_TranslatedName *names;
} lsa_TransNameArray;
NTSTATUS lsa_LookupSids (
[public] NTSTATUS lsa_LookupSids (
[in] policy_handle *handle,
[in] lsa_SidArray *sids,
[out,unique] lsa_RefDomainList *domains,
@ -681,7 +681,7 @@ import "security.idl";
/**********************/
/* Function: 0x2c */
NTSTATUS lsa_OpenPolicy2 (
[public] NTSTATUS lsa_OpenPolicy2 (
[in,unique] [string,charset(UTF16)] uint16 *system_name,
[in] lsa_ObjectAttribute *attr,
[in] uint32 access_mask,

View File

@ -102,7 +102,8 @@ INIT_FUNCTION = torture_ndr_init
PRIVATE_PROTO_HEADER = ndr/proto.h
OBJ_FILES = ndr/ndr.o \
ndr/winreg.o \
ndr/atsvc.o
ndr/atsvc.o \
ndr/lsa.o
[MODULE::torture_rpc]
# TORTURE_NET and TORTURE_NBT use functions from torture_rpc...

1113
source4/torture/ndr/lsa.c Normal file

File diff suppressed because it is too large Load Diff

View File

@ -87,6 +87,7 @@ NTSTATUS torture_ndr_init(void)
torture_suite_add_suite(suite, ndr_winreg_suite(suite));
torture_suite_add_suite(suite, ndr_atsvc_suite(suite));
torture_suite_add_suite(suite, ndr_lsa_suite(suite));
torture_register_suite(suite);