2004-04-07 14:15:11 +04:00
<samba:parameter name= "ldap ssl"
context="G"
2015-05-01 00:32:45 +03:00
type="enum"
2015-04-28 12:46:21 +03:00
enumlist="enum_ldap_ssl"
2005-03-13 01:41:20 +03:00
xmlns:samba="http://www.samba.org/samba/DTD/samba-doc">
2008-12-17 17:42:12 +03:00
<description >
2004-04-07 14:15:11 +04:00
<para > This option is used to define whether or not Samba should
use SSL when connecting to the ldap server
This is <emphasis > NOT</emphasis> related to
2008-12-17 17:42:12 +03:00
Samba's previous SSL support which was enabled by specifying the
<command moreinfo= "none" > --with-ssl</command> option to the
<filename moreinfo= "none" > configure</filename>
2004-04-07 14:15:11 +04:00
script.</para>
2008-12-17 17:42:12 +03:00
2008-12-17 18:18:38 +03:00
<para > LDAP connections should be secured where possible. This may be
2009-02-06 11:41:21 +03:00
done setting <emphasis > either</emphasis> this parameter to
2017-02-09 13:27:45 +03:00
<parameter moreinfo= "none" > start tls</parameter>
2009-02-06 11:41:21 +03:00
<emphasis > or</emphasis> by specifying <parameter moreinfo= "none" > ldaps://</parameter> in
2008-12-17 18:18:38 +03:00
the URL argument of <smbconfoption name= "passdb backend" /> .</para>
2008-12-17 17:42:12 +03:00
<para > The <smbconfoption name= "ldap ssl" /> can be set to one of
2008-12-17 18:18:38 +03:00
two values:</para>
2004-04-07 14:15:11 +04:00
<itemizedlist >
<listitem >
2008-12-17 17:42:12 +03:00
<para > <parameter moreinfo= "none" > Off</parameter> = Never
2004-04-07 14:15:11 +04:00
use SSL when querying the directory.</para>
</listitem>
<listitem >
2008-12-21 10:55:30 +03:00
<para > <parameter moreinfo= "none" > start tls</parameter> = Use
2008-12-17 17:42:12 +03:00
the LDAPv3 StartTLS extended operation (RFC2830) for
2004-04-07 14:15:11 +04:00
communicating with the directory server.</para>
</listitem>
2008-12-17 17:42:12 +03:00
</itemizedlist>
2009-02-06 11:41:21 +03:00
<para >
Please note that this parameter does only affect <emphasis > rpc</emphasis>
2017-02-09 13:27:45 +03:00
methods. To enable the LDAPv3 StartTLS extended operation (RFC2830) for
2009-02-06 11:41:21 +03:00
<emphasis > ads</emphasis> , set
2017-02-09 13:27:45 +03:00
<smbconfoption name= "ldap ssl" > start tls</smbconfoption>
2009-02-06 11:41:21 +03:00
<emphasis > and</emphasis>
<smbconfoption name= "ldap ssl ads" > yes</smbconfoption> .
See <refentrytitle > smb.conf</refentrytitle> <manvolnum > 5</manvolnum>
for more information on <smbconfoption name= "ldap ssl ads" /> .
</para>
2004-04-07 14:15:11 +04:00
</description>
2008-12-21 10:55:30 +03:00
<value type= "default" > start tls</value>
2004-04-07 14:15:11 +04:00
</samba:parameter>