summaryrefslogtreecommitdiff
path: root/docs-xml/smbdotconf/ldap/ldapssl.xml
blob: fa7fea94d0663637715d3095a9bfd29aaed3e693 (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
38
39
40
41
42
43
44
45
46
47
48
<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 <emphasis>either</emphasis> this parameter to
	<parameter moreinfo="none">Start_tls</parameter>
	<emphasis>or</emphasis> 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>
	<para>
	Please note that this parameter does only affect <emphasis>rpc</emphasis>
	methods. To enable the LDAPv3 StartTLS extended operation (RFC2830) for
	<emphasis>ads</emphasis>, set
	<smbconfoption name="ldap ssl">yes</smbconfoption>
	<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>

</description>
<value type="default">start tls</value>
</samba:parameter>