summaryrefslogtreecommitdiff
path: root/source3/include/ntdomain.h
diff options
context:
space:
mode:
authorSimo Sorce <idra@samba.org>2010-07-17 16:58:50 -0400
committerAndrew Bartlett <abartlet@samba.org>2010-07-20 15:52:37 +1000
commit4581902553b511a5ad4bae3249df9326b4cf95ec (patch)
treefe96413442a7a0783e853f0f8793d79ff31afa4b /source3/include/ntdomain.h
parenta91727fc7974aeb314bfb6378f078e6727b20344 (diff)
downloadsamba-4581902553b511a5ad4bae3249df9326b4cf95ec.tar.gz
samba-4581902553b511a5ad4bae3249df9326b4cf95ec.tar.bz2
samba-4581902553b511a5ad4bae3249df9326b4cf95ec.zip
s3-dcerpc: Unifiy cli_pipe_auth_data and pipe_auth_data
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'source3/include/ntdomain.h')
-rw-r--r--source3/include/ntdomain.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/source3/include/ntdomain.h b/source3/include/ntdomain.h
index 629e51cea3..ea1c0c8b0b 100644
--- a/source3/include/ntdomain.h
+++ b/source3/include/ntdomain.h
@@ -107,11 +107,18 @@ struct kerberos_auth_struct {
struct pipe_auth_data {
enum pipe_auth_type auth_type; /* switch for union below. */
enum dcerpc_AuthLevel auth_level;
+
union {
struct schannel_state *schannel_auth;
struct auth_ntlmssp_state *auth_ntlmssp_state;
-/* struct kerberos_auth_struct *kerberos_auth; TO BE ADDED... */
+ struct kerberos_auth_struct *kerberos_auth; /* Client only for now */
} a_u;
+
+ /* Only the client code uses these 3 for now */
+ char *domain;
+ char *user_name;
+ DATA_BLOB user_session_key;
+
void (*auth_data_free_func)(struct pipe_auth_data *);
};