From 360868b6e8ab033993f528d09f803eac660536db Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Wed, 26 Aug 2009 00:45:02 +0200 Subject: s3-schannel: remove remaining code that was using "struct dcinfo". Guenther --- source3/include/ntdomain.h | 19 ------------------- source3/include/proto.h | 6 ------ 2 files changed, 25 deletions(-) (limited to 'source3/include') diff --git a/source3/include/ntdomain.h b/source3/include/ntdomain.h index ce5d606c57..53e89a8751 100644 --- a/source3/include/ntdomain.h +++ b/source3/include/ntdomain.h @@ -112,25 +112,6 @@ typedef struct _input_data { struct handle_list; -/* Domain controller authentication protocol info */ -struct dcinfo { - uint32 sequence; /* "timestamp" from client. */ - struct netr_Credential seed_chal; - struct netr_Credential clnt_chal; /* Client credential */ - struct netr_Credential srv_chal; /* Server credential */ - - unsigned char sess_key[16]; /* Session key */ - unsigned char mach_pw[16]; /* md4(machine password) */ - - fstring mach_acct; /* Machine name we've authenticated. */ - - fstring remote_machine; /* Machine name we've authenticated. */ - fstring domain; - - bool challenge_sent; - bool authenticated; -}; - typedef struct pipe_rpc_fns { struct pipe_rpc_fns *next, *prev; diff --git a/source3/include/proto.h b/source3/include/proto.h index a745c07b17..b87e3b7f91 100644 --- a/source3/include/proto.h +++ b/source3/include/proto.h @@ -4716,12 +4716,6 @@ bool secrets_store_afs_keyfile(const char *cell, const struct afs_keyfile *keyfi bool secrets_fetch_afs_key(const char *cell, struct afs_key *result); void secrets_fetch_ipc_userpass(char **username, char **domain, char **password); TDB_CONTEXT *open_schannel_session_store(TALLOC_CTX *mem_ctx); -bool secrets_store_schannel_session_info(TALLOC_CTX *mem_ctx, - const char *remote_machine, - const struct dcinfo *pdc); -bool secrets_restore_schannel_session_info(TALLOC_CTX *mem_ctx, - const char *remote_machine, - struct dcinfo **ppdc); bool secrets_store_generic(const char *owner, const char *key, const char *secret); char *secrets_fetch_generic(const char *owner, const char *key); bool secrets_store_local_schannel_key(uint8_t schannel_key[16]); -- cgit