diff options
author | Stefan Metzmacher <metze@samba.org> | 2009-09-17 18:26:57 +0200 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2009-09-18 20:34:40 +0200 |
commit | c29364f4b0e20b22f9c3b6fb79a28fc2d063a874 (patch) | |
tree | f15620e4d84d42bd67ac548f02a6b31ef424991a | |
parent | 3207188287ccb712c49e9678d04e0e41eecfc8f0 (diff) | |
download | samba-c29364f4b0e20b22f9c3b6fb79a28fc2d063a874.tar.gz samba-c29364f4b0e20b22f9c3b6fb79a28fc2d063a874.tar.bz2 samba-c29364f4b0e20b22f9c3b6fb79a28fc2d063a874.zip |
named_pipe_auth.idl: add infrastructure to pass delegated credentials
metze
-rw-r--r-- | librpc/idl/named_pipe_auth.idl | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/librpc/idl/named_pipe_auth.idl b/librpc/idl/named_pipe_auth.idl index fd3f563c53..43db989327 100644 --- a/librpc/idl/named_pipe_auth.idl +++ b/librpc/idl/named_pipe_auth.idl @@ -24,10 +24,26 @@ interface named_pipe_auth [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; + 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; + uint32 gssapi_delegated_creds_length; + [size_is(gssapi_delegated_creds_length)] + uint8 *gssapi_delegated_creds; + } 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; typedef [public,gensize] struct { @@ -45,10 +61,17 @@ interface named_pipe_auth hyper allocation_size; } named_pipe_auth_rep_info2; + typedef struct { + uint16 file_type; + uint16 device_state; + hyper allocation_size; + } 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; typedef [public,gensize] struct { |