From 3aa85d289f86a9cac902d949530ad237cec3ee7d Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Tue, 5 Feb 2008 13:21:46 +0100 Subject: Augment the samr_Connect4 call (This used to be commit 5a9cb4cda9ac71ca8b01d21201bf2348e7f3f24f) --- source3/librpc/idl/samr.idl | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) (limited to 'source3/librpc/idl') diff --git a/source3/librpc/idl/samr.idl b/source3/librpc/idl/samr.idl index 92e4011d68..2242116b41 100644 --- a/source3/librpc/idl/samr.idl +++ b/source3/librpc/idl/samr.idl @@ -1229,10 +1229,16 @@ import "misc.idl", "lsa.idl", "security.idl"; /************************/ /* Function 0x3e */ - /* Only value we've seen for unknown is "2", possibly an address type ? */ + + typedef enum { + SAMR_CONNECT_PRE_W2K = 1, + SAMR_CONNECT_W2K = 2, + SAMR_CONNECT_AFTER_W2K = 3 + } samr_ConnectVersion; + NTSTATUS samr_Connect4( [in,unique,string,charset(UTF16)] uint16 *system_name, - [in] uint32 unknown, + [in] samr_ConnectVersion client_version, [in] samr_ConnectAccessMask access_mask, [out,ref] policy_handle *connect_handle ); @@ -1265,7 +1271,7 @@ import "misc.idl", "lsa.idl", "security.idl"; /* Function 0x40 */ typedef struct { - uint32 unknown1; /* w2k3 gives 3 */ + samr_ConnectVersion client_version; /* w2k3 gives 3 */ uint32 unknown2; /* w2k3 gives 0 */ } samr_ConnectInfo1; -- cgit