From 7f26e3ad339355e7cdab03e12c442ac1a9385561 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Wed, 21 Apr 2004 06:23:29 +0000 Subject: r307: added IDL and test code for samr_GetDomPwInfo(), samr_SetUserInfo2(), samr_GetBootKeyInformation() and samr_Connect3() also added some stub IDL for samr_SetBootKeyInformation() although I don't yet have working test code. This one is tricky, as if you get it wrong then the target system won't boot any more :) (This used to be commit 118b6fc292ba3257511b1b83846582013fb59b23) --- source4/librpc/idl/samr.idl | 36 +++++++++++++++++++++++++++++++----- 1 file changed, 31 insertions(+), 5 deletions(-) (limited to 'source4/librpc/idl') diff --git a/source4/librpc/idl/samr.idl b/source4/librpc/idl/samr.idl index b76541bb26..8372095350 100644 --- a/source4/librpc/idl/samr.idl +++ b/source4/librpc/idl/samr.idl @@ -993,7 +993,10 @@ /************************/ /* Function 0x38 */ - NTSTATUS samr_GET_DOM_PWINFO(); + NTSTATUS samr_GetDomPwInfo( + [in] samr_Name *name, + [out] samr_PwInfo info + ); /************************/ /* Function 0x39 */ @@ -1005,19 +1008,42 @@ /************************/ /* Function 0x3a */ - NTSTATUS samr_SET_USERINFO2(); + /* + seems to be an exact alias for samr_SetUserInfo() + */ + NTSTATUS samr_SetUserInfo2( + [in,ref] policy_handle *handle, + [in] uint16 level, + [in,ref,switch_is(level)] samr_UserInfo *info + ); /************************/ /* Function 0x3b */ - NTSTATUS samr_SET_BOOT_KEY_INFORMATION(); + /* + this one is mysterious. I have a few guesses, but nothing working yet + */ + NTSTATUS samr_SetBootKeyInformation( + [in,ref] policy_handle *handle + [in] uint32 unknown1, + [in] uint32 unknown2, + [in] uint32 unknown3 + ); /************************/ /* Function 0x3c */ - NTSTATUS samr_GET_BOOT_KEY_INFORMATION(); + NTSTATUS samr_GetBootKeyInformation( + [in,ref] policy_handle *handle, + [out] uint32 unknown + ); /************************/ /* Function 0x3d */ - NTSTATUS samr_CONNECT3(); + NTSTATUS samr_Connect3( + [in] unistr *system_name, + [in] uint32 unknown, + [in] uint32 access_mask, + [out,ref] policy_handle *handle + ); /************************/ /* Function 0x3e */ -- cgit