diff options
author | Douglas Bagnall <douglas.bagnall@catalyst.net.nz> | 2016-11-09 15:17:00 +1300 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2016-12-14 20:12:13 +0100 |
commit | a7598fb53b3a5238d49edbcbdfd218311ae73807 (patch) | |
tree | c33afff4e46dc19f484112e542752bf3404fde63 /libcli/auth/schannel_state.h | |
parent | cf536e36fbb87a691b78bbea999497e3ce1049dc (diff) | |
download | samba-a7598fb53b3a5238d49edbcbdfd218311ae73807.tar.gz |
rpc_server:netlogon Move from memcache to a tdb cache
This allows the netlogon server to be moved into a multi-process model
while still supporting clients that use a challenge from a different
network connection.
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
Pair-Programmed-With: Stefan Metzmacher <metze@samba.org>
Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Autobuild-User(master): Stefan Metzmacher <metze@samba.org>
Autobuild-Date(master): Wed Dec 14 20:12:14 CET 2016 on sn-devel-144
Diffstat (limited to 'libcli/auth/schannel_state.h')
-rw-r--r-- | libcli/auth/schannel_state.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/libcli/auth/schannel_state.h b/libcli/auth/schannel_state.h index f9d02ddb4e9..a333098458f 100644 --- a/libcli/auth/schannel_state.h +++ b/libcli/auth/schannel_state.h @@ -39,4 +39,16 @@ NTSTATUS schannel_check_creds_state(TALLOC_CTX *mem_ctx, struct netr_Authenticator *return_authenticator, struct netlogon_creds_CredentialState **creds_out); +NTSTATUS schannel_get_challenge(struct loadparm_context *lp_ctx, + struct netr_Credential *client_challenge, + struct netr_Credential *server_challenge, + const char *computer_name); + +NTSTATUS schannel_save_challenge(struct loadparm_context *lp_ctx, + const struct netr_Credential *client_challenge, + const struct netr_Credential *server_challenge, + const char *computer_name); + +NTSTATUS schannel_delete_challenge(struct loadparm_context *lp_ctx, + const char *computer_name); #endif |