diff options
author | Andrew Bartlett <abartlet@samba.org> | 2012-06-30 18:30:57 +1000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2012-07-03 08:13:01 +1000 |
commit | eba87995145b0e14672c1f6993f7aa3422d62541 (patch) | |
tree | cd6be4bd78541ebabb689d3241c7ec1b853728f4 /source3/include | |
parent | ab80b99815a51b07e9e89b423e847824ec71bd3c (diff) | |
download | samba-eba87995145b0e14672c1f6993f7aa3422d62541.tar.gz samba-eba87995145b0e14672c1f6993f7aa3422d62541.tar.bz2 samba-eba87995145b0e14672c1f6993f7aa3422d62541.zip |
auth: Remove .get_challenge (only used for security=server)
With NTLMSSP, for NTLM2 we need to be able to set the effective challenge,
so if we ever did use a module that needed this functionlity, we would
downgrade to just NTLM.
Now that security=server has been removed, we have no such module.
This will make it easier to make the auth subsystem async, as we will
not need to consider making .get_challenge async.
Andrew Bartlett
Diffstat (limited to 'source3/include')
-rw-r--r-- | source3/include/auth.h | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/source3/include/auth.h b/source3/include/auth.h index 693a0df383..07f8b9eee1 100644 --- a/source3/include/auth.h +++ b/source3/include/auth.h @@ -78,9 +78,6 @@ struct auth_context { /* Who set this up in the first place? */ const char *challenge_set_by; - bool challenge_may_be_modified; - - struct auth_methods *challenge_set_method; /* What order are the various methods in? Try to stop it changing under us */ struct auth_methods *auth_method_list; @@ -99,14 +96,6 @@ typedef struct auth_methods const struct auth_usersupplied_info *user_info, struct auth_serversupplied_info **server_info); - /* If you are using this interface, then you are probably - * getting something wrong. This interface is only for - * security=server, and makes a number of compromises to allow - * that. It is not compatible with being a PDC. */ - DATA_BLOB (*get_chal)(const struct auth_context *auth_context, - void **my_private_data, - TALLOC_CTX *mem_ctx); - /* Optional methods allowing this module to provide a way to get a gensec context and an auth4_context */ prepare_gensec_fn prepare_gensec; make_auth4_context_fn make_auth4_context; |