summaryrefslogtreecommitdiff
path: root/auth/credentials/credentials_internal.h
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2013-09-16 09:38:09 -0700
committerNadezhda Ivanova <nivanova@symas.com>2013-09-16 14:44:28 -0700
commit3f464ca1f5672491edf5daf15389cf7f2dc68e2b (patch)
treef9dd6d6390632ac5968e084ef7c5cae7f5c12ec3 /auth/credentials/credentials_internal.h
parent68f7cd1724480a9bae36692d19b94e10fb1b9e73 (diff)
downloadsamba-3f464ca1f5672491edf5daf15389cf7f2dc68e2b.tar.gz
samba-3f464ca1f5672491edf5daf15389cf7f2dc68e2b.tar.bz2
samba-3f464ca1f5672491edf5daf15389cf7f2dc68e2b.zip
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 <abartlet@samba.org> Reviewed-by: Nadezhda Ivanova <nivanova@symas.com>
Diffstat (limited to 'auth/credentials/credentials_internal.h')
-rw-r--r--auth/credentials/credentials_internal.h3
1 files changed, 3 insertions, 0 deletions
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;