dsdb: Use credentials.get_forced_sasl_mech()
authorAndrew Bartlett <abartlet@samba.org>
Mon, 16 Sep 2013 16:39:12 +0000 (09:39 -0700)
committerNadezhda Ivanova <nivanova@samba.org>
Mon, 16 Sep 2013 23:41:41 +0000 (01:41 +0200)
commit4dacaef2eae46a8d5d4729c8a607b9d928c70c25
tree488b362d5334cf50af2f90cdc80fbce96dd8adf6
parent3f464ca1f5672491edf5daf15389cf7f2dc68e2b
dsdb: Use credentials.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>
Autobuild-User(master): Nadezhda Ivanova <nivanova@samba.org>
Autobuild-Date(master): Tue Sep 17 01:41:41 CEST 2013 on sn-devel-104
python/samba/provision/backend.py
source4/dsdb/samdb/ldb_modules/samba_dsdb.c