Se connecter avec LDAP

  • Install the Lightweight Directory Access Protocol (LDAP) module in General Settings.

  • Click on Create in Setup the LDAP Server.

LDAP Authentication checkbox highlighted in the integrations settings on Odoo. Create highlighted in the LDAP server settings.
  • Choose the company using the LDAP.

Select the company drop-down menu highlighted in LDAP setup.
  • In Server Information, enter the IP address of the server and the port it listens to.

  • Tick Use TLS if the server is compatible.

LDAP server settings highlighted in LDAP server setup on Odoo.
  • In Login Information, enter ID and password of the account used to query the server. If left empty, the server queries anonymously.

Login information highlighted in LDAP server setup on Odoo.
  • In Process Parameter, enter the domain name of the LDAP server in LDAP nomenclature (e.g. dc=example,dc=com).

  • Dans le champ Filtre LDAP, notez uid=%s.

Process parameter highlighted in LDAP server setup on Odoo.
  • In User Information, tick Create User if Odoo should create a User profile the first time someone logs in with LDAP.

  • Dans le champ Modèle utilisateur, désignez un modèle pour les nouveaux profils créés. Si ce champ n’est pas rempli, le profil administrateur sera utilisé comme modèle.

User information highlighted on LDAP server setup on Odoo.