summaryrefslogtreecommitdiff
path: root/librpc/idl/named_pipe_auth.idl
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2009-04-21 04:44:08 +0200
committerStefan Metzmacher <metze@samba.org>2009-05-01 17:42:03 +0200
commit6d27b48b3fc7a0f92335308b7a5581892a9f8584 (patch)
treeda8f95f685976803f361e1e48720ea0c2a9f774f /librpc/idl/named_pipe_auth.idl
parent6ac61e6707079c8339ef8fa5f1c65ab173f3a79a (diff)
downloadsamba-6d27b48b3fc7a0f92335308b7a5581892a9f8584.tar.gz
named_pipe_auth.idl: add level 2 and pass the client/server info and session key
We also return can return the named pipe mode now. metze
Diffstat (limited to 'librpc/idl/named_pipe_auth.idl')
-rw-r--r--librpc/idl/named_pipe_auth.idl20
1 files changed, 20 insertions, 0 deletions
diff --git a/librpc/idl/named_pipe_auth.idl b/librpc/idl/named_pipe_auth.idl
index 3bd723e6db2..fd3f563c532 100644
--- a/librpc/idl/named_pipe_auth.idl
+++ b/librpc/idl/named_pipe_auth.idl
@@ -12,9 +12,22 @@ interface named_pipe_auth
{
const char *NAMED_PIPE_AUTH_MAGIC = "NPAM";
+ typedef struct {
+ [charset(UTF8),string] uint8 *client_name;
+ [charset(DOS),string] uint8 *client_addr;
+ uint16 client_port;
+ [charset(UTF8),string] uint8 *server_name;
+ [charset(DOS),string] uint8 *server_addr;
+ uint16 server_port;
+ netr_SamInfo3 *sam_info3;
+ uint32 session_key_length;
+ [size_is(session_key_length)] uint8 *session_key;
+ } named_pipe_auth_req_info2;
+
typedef [switch_type(uint32)] union {
[case(0)] ;/* anonymous */
[case(1)] netr_SamInfo3 info1;
+ [case(2)] named_pipe_auth_req_info2 info2;
} named_pipe_auth_req_info;
typedef [public,gensize] struct {
@@ -26,9 +39,16 @@ interface named_pipe_auth
[switch_is(level)] named_pipe_auth_req_info info;
} named_pipe_auth_req;
+ typedef struct {
+ uint16 file_type;
+ uint16 device_state;
+ hyper allocation_size;
+ } named_pipe_auth_rep_info2;
+
typedef [switch_type(uint32)] union {
[case(0)] ;
[case(1)] ;
+ [case(2)] named_pipe_auth_rep_info2 info2;
} named_pipe_auth_rep_info;
typedef [public,gensize] struct {