From 3f464ca1f5672491edf5daf15389cf7f2dc68e2b Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Mon, 16 Sep 2013 09:38:09 -0700 Subject: auth/credentials: Add cli_credentials_{set,get}_forced_sasl_mech() This will allow us to force the use of only DIGEST-MD5, for example, which is useful to avoid hitting GSSAPI, SPNEGO or NTLM when talking to OpenLDAP and Cyrus-SASL. Andrew Bartlett Signed-off-by: Andrew Bartlett Reviewed-by: Nadezhda Ivanova --- auth/credentials/credentials_internal.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'auth/credentials/credentials_internal.h') diff --git a/auth/credentials/credentials_internal.h b/auth/credentials/credentials_internal.h index f2f79b9f77..d05d1532cb 100644 --- a/auth/credentials/credentials_internal.h +++ b/auth/credentials/credentials_internal.h @@ -101,6 +101,9 @@ struct cli_credentials { /* Should we get a forwardable ticket? */ enum credentials_krb_forwardable krb_forwardable; + /* Forced SASL mechansim */ + char *forced_sasl_mech; + /* gensec features which should be used for connections */ uint32_t gensec_features; -- cgit