summaryrefslogtreecommitdiff
path: root/docs-xml/smbdotconf/ldap/ldapssl.xml
blob: b2e953736b21bbf6006378837fb0937a5ab361d7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
<samba:parameter name="ldap ssl"
                 context="G"
				 type="enum"
                 advanced="1" developer="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
	This is <emphasis>NOT</emphasis> related to
	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>
	script.</para>

	<para>LDAP connections should be secured where possible. This may be
	done setting either this parameter to
	<parameter moreinfo="none">Start_tls</parameter>
	or by specifying <parameter moreinfo="none">ldaps://</parameter> in
        the URL argument of <smbconfoption name="passdb backend"/>.</para>

	<para>The <smbconfoption name="ldap ssl"/> can be set to one of
	two values:</para>
	<itemizedlist>
		<listitem>
			<para><parameter moreinfo="none">Off</parameter> = Never
			use SSL when querying the directory.</para>
		</listitem>

		<listitem>
			<para><parameter moreinfo="none">start tls</parameter> = Use
			the LDAPv3 StartTLS extended operation (RFC2830) for
			communicating with the directory server.</para>
		</listitem>
	</itemizedlist>
</description>
<value type="default">start tls</value>
</samba:parameter>