summaryrefslogtreecommitdiff
path: root/librpc/idl
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2011-02-09 14:22:16 +1100
committerAndrew Tridgell <tridge@samba.org>2011-02-10 06:51:06 +0100
commitd66150c14def46711a15a35b4734e8f438b6dad6 (patch)
tree78aa50274367fd6af3f9647fbded3f9305a91d7a /librpc/idl
parent248c8217803341aa48626f5b68cc939d28aea5ab (diff)
downloadsamba-d66150c14def46711a15a35b4734e8f438b6dad6.tar.gz
samba-d66150c14def46711a15a35b4734e8f438b6dad6.tar.bz2
samba-d66150c14def46711a15a35b4734e8f438b6dad6.zip
libcli/named_pipe_auth Change from 'info3' to auth_session_info_transport
This changes the structure being used to convey the current user state from the netlogon-derived 'netr_SamInfo3' structure to a purpose-built structure that matches the internals of the Samba auth subsystem and contains the final group list, as well as the final privilege set and session key. These previously had to be re-created on the server side of the pipe each time. Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org>
Diffstat (limited to 'librpc/idl')
-rw-r--r--librpc/idl/named_pipe_auth.idl17
1 files changed, 6 insertions, 11 deletions
diff --git a/librpc/idl/named_pipe_auth.idl b/librpc/idl/named_pipe_auth.idl
index de89588664..721667eef9 100644
--- a/librpc/idl/named_pipe_auth.idl
+++ b/librpc/idl/named_pipe_auth.idl
@@ -3,7 +3,7 @@
miscellaneous IDL structures
*/
-import "netlogon.idl";
+import "netlogon.idl", "security.idl", "auth.idl";
[
pointer_default(unique)
@@ -19,16 +19,11 @@ interface named_pipe_auth
[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;
- uint32 gssapi_delegated_creds_length;
- [size_is(gssapi_delegated_creds_length)]
- uint8 *gssapi_delegated_creds;
- } named_pipe_auth_req_info3;
+ auth_session_info_transport *session_info;
+ } named_pipe_auth_req_info4;
typedef [switch_type(uint32)] union {
- [case(3)] named_pipe_auth_req_info3 info3;
+ [case(4)] named_pipe_auth_req_info4 info4;
} named_pipe_auth_req_info;
typedef [public,gensize] struct {
@@ -44,10 +39,10 @@ interface named_pipe_auth
uint16 file_type;
uint16 device_state;
hyper allocation_size;
- } named_pipe_auth_rep_info3;
+ } named_pipe_auth_rep_info4;
typedef [switch_type(uint32)] union {
- [case(3)] named_pipe_auth_rep_info3 info3;
+ [case(4)] named_pipe_auth_rep_info4 info4;
} named_pipe_auth_rep_info;
typedef [public,gensize] struct {