====================
-The "ldap ssl ads" option no longer depends on "ldap ssl" option:
------------------------------------------------------------------
-With this release, the "ldap ssl ads" can be set to "yes" even if "ldap ssl"
-is off.
-
-The "ldap ssl ads" no longer requires sasl-wrapping to be set to plain:
------------------------------------------------------------------------
-This is now done implicitly when over TLS, so "client ldap sasl wrapping"
-does not need to be set to "plain" in order for it to work.
-
-
CTDB CHANGES
============
REMOVED FEATURES
================
+The deprecated "ldap ssl ads" smb.conf option has been removed.
smb.conf changes
================
Parameter Name Description Default
-------------- ----------- -------
+ ldap ssl ads removed
+++ /dev/null
-<samba:parameter name="ldap ssl ads"
- context="G"
- type="boolean"
- deprecated="1"
- xmlns:samba="http://www.samba.org/samba/DTD/samba-doc">
-<description>
- <para>This option is used to define whether or not Samba should
- use SSL when connecting to the ldap server using
- <emphasis>ads</emphasis> methods.
- Rpc methods are not affected by this parameter.
- </para>
-
- <para>See also <smbconfoption name="ldap ssl"/>.
- </para>
-
-</description>
-<value type="default">no</value>
-</samba:parameter>
ldap_set_option(ads->ldap.ld, LDAP_OPT_PROTOCOL_VERSION, &version);
- if ( lp_ldap_ssl_ads() ) {
- status = ADS_ERROR(smbldap_start_tls_start(ads->ldap.ld, version));
- if (!ADS_ERR_OK(status)) {
- goto out;
- }
- if (!ads_set_sasl_wrap_flags(ads, 0)) {
- status = ADS_ERROR(LDAP_OPERATIONS_ERROR);
- goto out;
- }
- }
-
/* fill in the current time and offsets */
status = ads_current_time( ads );
lpcfg_string_set(Globals.ctx, &Globals.ldap_admin_dn, "");
Globals.ldap_ssl = LDAP_SSL_START_TLS;
- Globals.ldap_ssl_ads = false;
Globals.ldap_deref = -1;
Globals.ldap_passwd_sync = LDAP_PASSWD_SYNC_OFF;
Globals.ldap_delete_dn = false;