File: README.rst

package info (click to toggle)
tryton-modules-ldap-authentication 7.0.0-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 352 kB
  • sloc: python: 515; makefile: 11; xml: 8; sh: 3
file content (42 lines) | stat: -rw-r--r-- 953 bytes parent folder | download | duplicates (2)
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
LDAP Authentication Module
##########################

The LDAP authentication module allows to authenticate users via a LDAP server.

The configuration of the LDAP connection is set in the ``ldap_authentication``
section.

To be activated, the ``ldap`` method must be added to the ``authentications``
methods list of the ``session`` section of the configuration.

Configuration
*************

uri
---

The LDAP URL to use to connect to the server following the :rfc:`2255`.
It is extended to support `SSL
<https://en.wikipedia.org/wiki/Secure_Sockets_Layer>`_ and `STARTTLS
<https://en.wikipedia.org/wiki/STARTTLS>`_.
The available protocols are:

   - ``ldap``: simple LDAP
   - ``ldap+tls``: LDAP with STARTTLS
   - ``ldaps``: LDAP with SSL


bind_pass
---------

The LDAP password used to bind if needed.

uid
---

The UID Attribute for authentication (default is ``uid``).

create_user
-----------

A boolean to create user if not in the database.