summaryrefslogtreecommitdiffstats
path: root/docs-xml/smbdotconf/ldap/ldapssl.xml
blob: 5fe67b150820d030b794770d28806c301f5e0e70 (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
<samba:parameter name="ldap ssl"
                 context="G"
                 type="enum"
                 enumlist="enum_ldap_ssl"
                 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.
        </para>

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