From 543ef3b5bf29f564e19e6264bb03c7daba005236 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Wed, 9 Feb 2011 11:59:50 +1100 Subject: libcli/named_pipe_auth Remove support for unused levels 0-2. The only client and server for this code uses level 3 exclusively. Andrew Bartlett Signed-off-by: Andrew Tridgell --- librpc/idl/named_pipe_auth.idl | 24 ------------------------ 1 file changed, 24 deletions(-) (limited to 'librpc/idl/named_pipe_auth.idl') diff --git a/librpc/idl/named_pipe_auth.idl b/librpc/idl/named_pipe_auth.idl index e2928515ba..de89588664 100644 --- a/librpc/idl/named_pipe_auth.idl +++ b/librpc/idl/named_pipe_auth.idl @@ -12,18 +12,6 @@ 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 struct { [charset(UTF8),string] uint8 *client_name; [charset(DOS),string] uint8 *client_addr; @@ -40,9 +28,6 @@ interface named_pipe_auth } named_pipe_auth_req_info3; typedef [switch_type(uint32)] union { - [case(0)] ;/* anonymous */ - [case(1)] netr_SamInfo3 info1; - [case(2)] named_pipe_auth_req_info2 info2; [case(3)] named_pipe_auth_req_info3 info3; } named_pipe_auth_req_info; @@ -55,12 +40,6 @@ 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 struct { uint16 file_type; uint16 device_state; @@ -68,9 +47,6 @@ interface named_pipe_auth } named_pipe_auth_rep_info3; typedef [switch_type(uint32)] union { - [case(0)] ; - [case(1)] ; - [case(2)] named_pipe_auth_rep_info2 info2; [case(3)] named_pipe_auth_rep_info3 info3; } named_pipe_auth_rep_info; -- cgit