From e22b1b4f9e1ec46cf7dffbce24a88240d6fa2a05 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Mon, 26 Dec 2011 12:26:43 +1100 Subject: 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 --- source3/include/auth.h | 9 --------- 1 file changed, 9 deletions(-) (limited to 'source3/include/auth.h') 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; -- cgit