This module extends the functionality of the auth_ldap module to support mail from LDAP and to allow you to get an e-mail address from LDAP accounts to Odoo users.
auto_awesome What this module does
AI-generated from the code · Odoo 18.0Adds two settings to LDAP server configurations so Odoo can read the user's full name and e-mail address from LDAP when creating or updating users.
This module extends the LDAP configuration screens already provided by the standard LDAP authentication module. On each LDAP server record you now get two extra fields: one for the LDAP attribute that holds the user's display name (defaults to "cn", with a hint that Active Directory often uses "displayName") and one for the LDAP attribute that holds the e-mail address (defaults to "mail").
When a user logs in through LDAP and Odoo builds the user record, these settings are used to fill in the user's name and e-mail address from the matching LDAP entry. If the configured attribute is missing on the LDAP side, the module simply logs a warning and leaves that value out instead of failing.
Where it appears: - The LDAP server configuration form (the same screen where LDAP servers are set up), right after the LDAP filter field.
What it changes:
- New fields name_attribute and mail_attribute on res.company.ldap.
- The LDAP attribute mapping used when creating/updating users, so name and email come from LDAP.
It does not add menus, reports or scheduled jobs; it only enriches the existing LDAP user provisioning.
Depends on
Models and fields (1)
- res.company.ldap · extends an existing modelmail_attribute (E-mail attribute), name_attribute
Text generated by AI (DeepSeek) from reading the Odoo 18.0 code on GitHub; it may contain mistakes, so check the code before deciding. View the code on GitHub
Availability by version
Reviewed: 2026-11-03Confirmation status: 6 confirmed, 3 with no information of 9 versions.
Sources · Odoo 14.0
Confirmed on 2026-11-03 in branch 14.0 of OCA/server-auth.
terminal Installation and usage
OCA documentation · Odoo 18.0Usage
Source · Odoo 18.0To use this module, you need to:
- Open Odoo in your browser
- Go to Settings \> General Settings
- In the Integrations section click on LDAP Server under LDAP Authentication. This will allow you to create your LDAP integration settings.
- When creating or editing a record, under the Process Parameter section there are two new fields: mail and name, the name of these items will correspond with a new user that is created, when a user logs in via LDAP in Odoo.
No verified information in OCA: Installation, Configuration.
Installation instructions, the distribution package, dependencies and configuration steps are not shown because they have not yet been verified in the module documentation for any version.
Data imported from GitHub: this sheet reflects the latest catalog review, not a live lookup. Always check the module documentation and staging before installing in production.