summaryrefslogtreecommitdiff
path: root/source3/librpc/idl
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2008-02-05 13:21:46 +0100
committerVolker Lendecke <vl@samba.org>2008-02-05 13:22:31 +0100
commit3aa85d289f86a9cac902d949530ad237cec3ee7d (patch)
treee060f7e6769b2d9509ce0b08214a545242ceb327 /source3/librpc/idl
parentf9447d248faec8d80df13c0d8ea6caf7dc40b2dd (diff)
downloadsamba-3aa85d289f86a9cac902d949530ad237cec3ee7d.tar.gz
samba-3aa85d289f86a9cac902d949530ad237cec3ee7d.tar.bz2
samba-3aa85d289f86a9cac902d949530ad237cec3ee7d.zip
Augment the samr_Connect4 call
(This used to be commit 5a9cb4cda9ac71ca8b01d21201bf2348e7f3f24f)
Diffstat (limited to 'source3/librpc/idl')
-rw-r--r--source3/librpc/idl/samr.idl12
1 files changed, 9 insertions, 3 deletions
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;