diff options
author | Stefan Metzmacher <metze@samba.org> | 2004-10-13 14:25:44 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 12:59:51 -0500 |
commit | 78e29c0491a36285ed1c09a684a9fc516aec4beb (patch) | |
tree | f219f9074551a7e9a6a327775d600435daa7d3f6 /source4/librpc/idl | |
parent | 0bd8d427d0ebe324ee40dfd18970a336b4740079 (diff) | |
download | samba-78e29c0491a36285ed1c09a684a9fc516aec4beb.tar.gz samba-78e29c0491a36285ed1c09a684a9fc516aec4beb.tar.bz2 samba-78e29c0491a36285ed1c09a684a9fc516aec4beb.zip |
r2952: add idl and torture test for DsCrackNames
(I need to find out what the fields mean but it works)
metze
(This used to be commit eff51fc623f2e7b57e7e53eb81760684815db2f4)
Diffstat (limited to 'source4/librpc/idl')
-rw-r--r-- | source4/librpc/idl/drsuapi.idl | 42 |
1 files changed, 40 insertions, 2 deletions
diff --git a/source4/librpc/idl/drsuapi.idl b/source4/librpc/idl/drsuapi.idl index 74ed5ed1e8..fc9aee6b7f 100644 --- a/source4/librpc/idl/drsuapi.idl +++ b/source4/librpc/idl/drsuapi.idl @@ -71,8 +71,46 @@ interface drsuapi NTSTATUS DRSUAPI_GET_NT4_CHANGELOG(); /*****************/ - /* Function 0x0c */ - NTSTATUS DRSUAPI_CRACKNAMES(); + /* Function 0x0c */ + typedef struct { + unistr *str; + } drsuapi_DsCrackNamesInInfo1Names; + + typedef struct { + uint32 unknown1; + uint32 unknown2; + uint32 unknown3; + uint32 unknown4; + uint32 unknown5; + [range(1,10000)] uint32 count; + [size_is(count)] drsuapi_DsCrackNamesInInfo1Names *names; + } drsuapi_DsCrackNamesInInfo1; + + typedef union { + [case(1)] drsuapi_DsCrackNamesInInfo1 info1; + } drsuapi_DsCrackNamesInInfo; + + typedef struct { + uint32 unknown1; + unistr *name1; + unistr *name2; + } drsuapi_DsCrackNamesOutInfo1Names; + + typedef struct { + uint32 count; + [size_is(count)] drsuapi_DsCrackNamesOutInfo1Names *names; + } drsuapi_DsCrackNamesOutInfo1; + + typedef union { + [case(1)] drsuapi_DsCrackNamesOutInfo1 *info1; + } drsuapi_DsCrackNamesOutInfo; + + NTSTATUS drsuapi_DsCrackNames( + [in,ref] policy_handle *bind_handle, + [in, out] uint32 level, + [in,switch_is(level)] drsuapi_DsCrackNamesInInfo in, + [out,switch_is(level)] drsuapi_DsCrackNamesOutInfo out + ); /*****************/ /* Function 0x0d */ |