This module allows to update users’ fields from LDAP attributes.
auto_awesome What this module does
AI-generated from the code · Odoo 12.0Lets administrators map LDAP directory attributes to user fields in Odoo, so user details are filled in automatically when accounts are created or when users log in.
This module extends the existing LDAP authentication setup. On each LDAP configuration (the same screen where the LDAP server is configured), a new "Map User Attributes" section lets administrators add mapping lines. Each line chooses an LDAP attribute name, the Odoo user field it should fill, and when the synchronization happens: "On user creation" or "On every login".
Only text (character) user fields that are not read-only can be selected as the target field, so sensitive or computed fields cannot be overwritten.
- When a user is created through LDAP, all mappings are applied to fill in the user's details.
- On every login, mappings marked "On every login" are applied again, refreshing the user's information from the directory.
- If the LDAP attribute is missing for a user, that field is simply skipped and a warning is logged; nothing is overwritten.
The module touches the LDAP configuration model res.company.ldap, the user model res.users, and adds a new mapping model ldap.attribute.mapping. Access to the mapping records is restricted to system administrators.
Depends on
Models and fields (3)
- res.users · extends an existing model
- res.company.ldap · extends an existing modeluser_attributes_mapping (User attributes mapping)
- ldap.attribute.mapping · new modelmode (Sync mode), ldap_id (LDAP configuration), field_name (Mapped field), attribute_name (Attribute)
Text generated by AI (DeepSeek) from reading the Odoo 12.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: 1 confirmed, 8 with no information of 9 versions.
Sources · Odoo 12.0
Confirmed on 2026-11-03 in branch 12.0 of OCA/server-auth.
terminal Installation and usage
OCA documentation · Odoo 12.0Configuration
Source · Odoo 12.0To configure this module, you need to:
- Access Settings / General Settings / LDAP Authentication / LDAP Server
- Configure attributes mapping according to the LDAP server configuration
No verified information in OCA: Installation, Usage.
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.