summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2011-12-26 12:26:43 +1100
committerStefan Metzmacher <metze@samba.org>2012-01-05 17:17:28 +0100
commite22b1b4f9e1ec46cf7dffbce24a88240d6fa2a05 (patch)
tree777fd7d82132bf57c5d031d6385f1fddf5f04bbe /source3/include
parent1075efabc73ef9e890fdb7a53b15cabf467c6a9b (diff)
downloadsamba-e22b1b4f9e1ec46cf7dffbce24a88240d6fa2a05.tar.gz
samba-e22b1b4f9e1ec46cf7dffbce24a88240d6fa2a05.tar.bz2
samba-e22b1b4f9e1ec46cf7dffbce24a88240d6fa2a05.zip
s3-auth re-create the auth context in the s3 ntlmssp server module
This removes the abstraction violation in auth_generic.c. Andrew Bartlett Signed-off-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/auth.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/source3/include/auth.h b/source3/include/auth.h
index 9d043bf54f..16bf1e6f14 100644
--- a/source3/include/auth.h
+++ b/source3/include/auth.h
@@ -68,11 +68,6 @@ struct auth_serversupplied_info {
typedef NTSTATUS (*prepare_gensec_fn)(TALLOC_CTX *mem_ctx,
struct gensec_security **gensec_context);
-typedef NTSTATUS (*gensec_start_mech_by_oid_fn)(struct gensec_security *gensec_context,
- const char *oid_string);
-typedef NTSTATUS (*gensec_start_mech_by_authtype_fn)(struct gensec_security *gensec_context,
- uint8_t auth_type,
- uint8_t auth_level);
struct auth_context {
DATA_BLOB challenge;
@@ -94,8 +89,6 @@ struct auth_context {
NTSTATUS (*nt_status_squash)(NTSTATUS nt_status);
prepare_gensec_fn prepare_gensec;
- gensec_start_mech_by_oid_fn gensec_start_mech_by_oid;
- gensec_start_mech_by_authtype_fn gensec_start_mech_by_authtype;
};
typedef struct auth_methods
@@ -119,8 +112,6 @@ typedef struct auth_methods
/* Optional methods allowing this module to provide a way to get a gensec context */
prepare_gensec_fn prepare_gensec;
- gensec_start_mech_by_oid_fn gensec_start_mech_by_oid;
- gensec_start_mech_by_authtype_fn gensec_start_mech_by_authtype;
/* Used to keep tabs on things like the cli for SMB server authentication */
void *private_data;