summaryrefslogtreecommitdiff
path: root/auth/gensec/gensec.h
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2011-12-26 10:53:56 +1100
committerAndrew Bartlett <abartlet@samba.org>2011-12-28 22:39:19 +1100
commit4b7b26e3c05f0fe38fe6c843df48d665db75c0f6 (patch)
treece44a33eab44ae84e7df4c5a995882ce746730fa /auth/gensec/gensec.h
parent1364eb7bd7e7e6035b8a8cf4da46481f3d1460f0 (diff)
downloadsamba-4b7b26e3c05f0fe38fe6c843df48d665db75c0f6.tar.gz
samba-4b7b26e3c05f0fe38fe6c843df48d665db75c0f6.tar.bz2
samba-4b7b26e3c05f0fe38fe6c843df48d665db75c0f6.zip
gensec: Allow an alternate set of modules to be specified
This will allow s3 to specify modules to use as a list, rather than needing to start the individual module with gensec_start_mech_by_ops() Andrew Bartlett
Diffstat (limited to 'auth/gensec/gensec.h')
-rw-r--r--auth/gensec/gensec.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/auth/gensec/gensec.h b/auth/gensec/gensec.h
index acfc54926c..9b2ac19fe1 100644
--- a/auth/gensec/gensec.h
+++ b/auth/gensec/gensec.h
@@ -77,6 +77,11 @@ struct tevent_req;
struct gensec_settings {
struct loadparm_context *lp_ctx;
const char *target_hostname;
+
+ /* this allows callers to specify a specific set of ops that
+ * should be used, rather than those loaded by the plugin
+ * mechanism */
+ struct gensec_security_ops **backends;
};
struct gensec_security_ops {