Files
tryton/modules/ldap_authentication
Cédric Krier c4d4951525 Remove readthedocs
(grafted from 2f67994e59b0bca29d7b0632a51540774b109140)

--HG--
branch : 7.0
2024-02-18 18:35:54 +01:00
..
2024-02-18 18:35:54 +01:00
2023-10-28 14:15:23 +02:00
2022-12-16 18:14:13 +01:00
2022-12-16 18:14:13 +01:00
2023-10-30 18:17:32 +01:00
2023-05-01 13:19:11 +02:00
2022-12-16 18:14:13 +01:00
2022-12-16 18:14:13 +01:00
2022-12-16 18:14:13 +01:00
2022-12-16 18:14:13 +01:00
2023-10-22 19:40:55 +02:00
2023-10-22 19:40:55 +02:00
2023-10-30 18:49:03 +01:00

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.