LDAP mapping for user name and e-mail

users_ldap_mail
REPOSITORY
REPOSITORYOCA/server-auth
GIT
GIThttps://github.com/OCA/server-auth.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/server-auth/tree/18.0/users_ldap_mail
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYTools
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Daniel Reis
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Daniel Reis
COMMITTERS
COMMITTERSOCA-git-bot, oca-ci, eduardo
WEBSITE
WEBSITEhttps://github.com/OCA/server-auth
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:30:10
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - auth_ldap
    - base
    - base_setup
    - web
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES python-ldap
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
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.

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
view_ldap_installer_form res.company.ldap.form res.company.ldap field Inherits auth_ldap.view_ldap_installer_form
Models touched (1)

New fields (2)
  • mail_attribute Char
    default='mail' help='LDAP attribute to use to retrieve e-mail address.' args: 'E-mail attribute'
  • name_attribute Char
    default='cn' help="By default 'cn' is used. For ActiveDirectory you might use 'displayName' instead."
Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/server-auth
GIT
GIThttps://github.com/OCA/server-auth.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/server-auth/tree/17.0/users_ldap_mail
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYTools
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Daniel Reis
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Daniel Reis
COMMITTERS
COMMITTERSOCA-git-bot, oca-ci, Ryan Cole
WEBSITE
WEBSITEhttps://github.com/OCA/server-auth
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:20:04
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - auth_ldap
    - base
    - base_setup
    - web
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES python-ldap
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
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.

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
view_ldap_installer_form res.company.ldap.form res.company.ldap field Inherits auth_ldap.view_ldap_installer_form
Models touched (1)

New fields (2)
  • mail_attribute Char
    default='mail' help='LDAP attribute to use to retrieve e-mail address.' args: 'E-mail attribute'
  • name_attribute Char
    default='cn' help="By default 'cn' is used. For ActiveDirectory you might use 'displayName' instead."
Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/server-auth
GIT
GIThttps://github.com/OCA/server-auth.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/server-auth/tree/16.0/users_ldap_mail
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYTools
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Daniel Reis
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Daniel Reis
COMMITTERS
COMMITTERSPedro M. Baeza, Weblate, OCA-git-bot, oca-ci
WEBSITE
WEBSITEhttps://github.com/OCA/server-auth
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:53:43
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - auth_ldap
    - base
    - base_setup
    - web
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES python-ldap
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
view_ldap_installer_form res.company.ldap.form res.company.ldap field Inherits auth_ldap.view_ldap_installer_form
Models touched (1)

New fields (2)
  • mail_attribute Char
    default='mail' help='LDAP attribute to use to retrieve e-mail address.' args: 'E-mail attribute'
  • name_attribute Char
    default='cn' help="By default 'cn' is used. For ActiveDirectory you might use 'displayName' instead."
Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/server-auth
GIT
GIThttps://github.com/OCA/server-auth.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/server-auth/tree/14.0/users_ldap_mail
VERSION
VERSION 1.0.1
CATEGORY
CATEGORYTools
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Daniel Reis
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Daniel Reis
COMMITTERS
COMMITTERSSergio Zanchetta, oca-travis, Weblate, OCA-git-bot, Florent THOMAS, oca-git-bot
WEBSITE
WEBSITEhttps://github.com/OCA/server-auth
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:40:55
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - auth_ldap
    - base
    - base_setup
    - web
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES python-ldap
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
view_ldap_installer_form res.company.ldap.form res.company.ldap field Inherits auth_ldap.view_ldap_installer_form
Models touched (1)

New fields (2)
  • mail_attribute Char
    default='mail' help='LDAP attribute to use to retrieve e-mail address.' args: 'E-mail attribute'
  • name_attribute Char
    default='cn' help="By default 'cn' is used. For ActiveDirectory you might use 'displayName' instead." args: 'Name Attribute'
Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/server-auth
GIT
GIThttps://github.com/OCA/server-auth.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/server-auth/tree/13.0/users_ldap_mail
VERSION
VERSION 1.0.1
CATEGORY
CATEGORYTools
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Daniel Reis
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Daniel Reis
COMMITTERS
COMMITTERSStéphane Bidoul, Pedro M. Baeza, OCA Transbot, oca-travis, Weblate, OCA-git-bot, Carlos Roca
WEBSITE
WEBSITEhttps://github.com/OCA/server-auth
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:34:11
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - auth_ldap
    - base
    - base_setup
    - web
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES python-ldap
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
view_ldap_installer_form res.company.ldap.form res.company.ldap field Inherits auth_ldap.view_ldap_installer_form
Models touched (1)

New fields (2)
  • mail_attribute Char
    default='mail' help='LDAP attribute to use to retrieve em-mail address.' args: 'E-mail attribute'
  • name_attribute Char
    default='cn' help="By default 'cn' is used. For ActiveDirectory you might use 'displayName' instead." args: 'Name Attribute'
Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/server-auth
GIT
GIThttps://github.com/OCA/server-auth.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/server-auth/tree/12.0/users_ldap_mail
VERSION
VERSION 1.0.1
CATEGORY
CATEGORYTools
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Daniel Reis
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Daniel Reis
COMMITTERS
COMMITTERSStéphane Bidoul, Alexandre Díaz, OCA Transbot, oca-travis, OCA-git-bot
WEBSITE
WEBSITEhttps://github.com/OCA/server-auth
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:29:15
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - auth_ldap
    - base
    - base_setup
    - web
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES python-ldap
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
view_ldap_installer_form res.company.ldap.form res.company.ldap field Inherits auth_ldap.view_ldap_installer_form
Models touched (1)

New fields (2)
  • mail_attribute Char
    default='mail' help='LDAP attribute to use to retrieve em-mail address.' args: 'E-mail attribute'
  • name_attribute Char
    default='cn' help="By default 'cn' is used. For ActiveDirectory you might use 'displayName' instead." args: 'Name Attribute'
Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/server-auth
GIT
GIThttps://github.com/OCA/server-auth.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/server-auth/tree/11.0/users_ldap_mail
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYTools
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Daniel Reis
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Daniel Reis
COMMITTERS
COMMITTERSMaxime Chambreuil, Jairo Llopis, Enric Tobella, Stéphane Bidoul (ACSONE), oca-travis, etobella
WEBSITE
WEBSITE
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:23:56
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - auth_ldap
    - base
    - base_setup
    - web
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES python-ldap
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
view_ldap_installer_form res.company.ldap.form res.company.ldap field Inherits auth_ldap.view_ldap_installer_form
Models touched (1)

New fields (2)
  • mail_attribute Char
    default='mail' help='LDAP attribute to use to retrieve em-mail address.' args: 'E-mail attribute'
  • name_attribute Char
    default='cn' help="By default 'cn' is used. For ActiveDirectory you might use 'displayName' instead." args: 'Name Attribute'
Public methods (2)
  • get_ldap_dicts(self)
    Copy of auth_ldap's funtion, changing only the SQL, so that it returns all fields in the table.
  • map_ldap_attributes(self, conf, login, ldap_entry)
REPOSITORY
REPOSITORYOCA/server-tools
GIT
GIThttps://github.com/OCA/server-tools.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/server-tools/tree/10.0/users_ldap_mail
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYTools
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Daniel Reis (https://launchpad.com/~dreis-pt)
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Daniel Reis (https://launchpad.com/~dreis-pt)
COMMITTERS
COMMITTERSRonald Portier, Pedro M. Baeza, Daniel Reis, Stéphane Bidoul (ACSONE), OCA Transbot, oca-travis, Weblate, Artem Kostyuk
WEBSITE
WEBSITE
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:20:00
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - auth_ldap
    - base
    - base_setup
    - web_kanban
    - web
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES python-ldap
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
company_form_view Add name and email attributes to ldap view base.config.settings xpath Inherits auth_ldap.view_general_configuration_form_inherit_auth_ldap
Models touched (1)

New fields (2)
  • mail_attribute Char
    default='mail' help='LDAP attribute to use to retrieve em-mail address.' args: 'E-mail attribute'
  • name_attribute Char
    default='cn' help="By default 'cn' is used. For ActiveDirectory you might use 'displayName' instead." args: 'Name Attribute'
Public methods (2)
  • get_ldap_dicts(self)
    Copy of auth_ldap's funtion, changing only the SQL, so that it returns all fields in the table.
  • map_ldap_attributes(self, conf, login, ldap_entry)
REPOSITORY
REPOSITORYOCA/server-tools
GIT
GIThttps://github.com/OCA/server-tools.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/server-tools/tree/9.0/users_ldap_mail
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYTools
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Daniel Reis (https://launchpad.com/~dreis-pt)
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Daniel Reis (https://launchpad.com/~dreis-pt)
COMMITTERS
COMMITTERSPedro M. Baeza, Stéphane Bidoul (ACSONE), OCA Transbot, oca-travis, florent.thomas
WEBSITE
WEBSITE
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:15:23
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - auth_ldap
    - base
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES python-ldap
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
Allows to define the LDAP attributes to use to retrieve user name and e-mail
address.

The default attribute used for the name is "cn".
For Active Directory, you might prefer to use "displayName" instead.
AD also supports the "mail" attribute, so it can be mapped into OpenERP.

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
company_form_view res.company.form.inherit.users_ldap_mail res.company field Inherits auth_ldap.company_form_view
Models touched (1)

New fields (0)

No new fields.

Public methods (2)
  • get_ldap_dicts(self, cr, ids=None)
    Copy of auth_ldap's funtion, changing only the SQL, so that it returns all fields in the table.
  • map_ldap_attributes(self, cr, uid, conf, login, ldap_entry)
REPOSITORY
REPOSITORYOCA/server-tools
GIT
GIThttps://github.com/OCA/server-tools.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/server-tools/tree/8.0/users_ldap_mail
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYTools
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Daniel Reis (https://launchpad.com/~dreis-pt)
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Daniel Reis (https://launchpad.com/~dreis-pt)
COMMITTERS
COMMITTERSStéphane Bidoul, Yannick Vaucher, Alexandre Fayolle, Holger Brunn, Daniel Reis, Stéphane Bidoul (ACSONE), OCA Transbot, oca-travis, Weblate
WEBSITE
WEBSITE
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:11:25
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - auth_ldap
    - base
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES python-ldap
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
Allows to define the LDAP attributes to use to retrieve user name and e-mail
address.

The default attribute used for the name is "cn".
For Active Directory, you might prefer to use "displayName" instead.
AD also supports the "mail" attribute, so it can be mapped into OpenERP.

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
company_form_view res.company.form.inherit.users_ldap_mail res.company field Inherits auth_ldap.company_form_view
Models touched (1)

New fields (0)

No new fields.

Public methods (2)
  • get_ldap_dicts(self, cr, ids=None)
    Copy of auth_ldap's funtion, changing only the SQL, so that it returns all fields in the table.
  • map_ldap_attributes(self, cr, uid, conf, login, ldap_entry)
REPOSITORY
REPOSITORYOCA/server-tools
GIT
GIThttps://github.com/OCA/server-tools.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/server-tools/tree/7.0/users_ldap_mail
VERSION
VERSION 1.0
CATEGORY
CATEGORYTools
LICENSE
LICENSELGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Daniel Reis (https://launchpad.com/~dreis-pt)
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Daniel Reis (https://launchpad.com/~dreis-pt)
COMMITTERS
COMMITTERSAlexandre Fayolle, Sandy Carter, Sylvain LE GAL, Daniel Reis
WEBSITE
WEBSITE
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:07:15
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - auth_ldap
    - base
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES python-ldap
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
Allows to define the LDAP attributes to use to retrieve user name and e-mail
address.

The default attribute used for the name is `cn`.  For Active Directory, you
might prefer to use `displayName` instead.  AD also supports the `mail`
attribute, so it can be mapped into OpenERP.

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
company_form_view res.company.form.inherit.users_ldap_mail res.company field Inherits auth_ldap.company_form_view
Models touched (1)

New fields (0)

No new fields.

Public methods (2)
  • get_ldap_dicts(self, cr, ids=None)
    Copy of auth_ldap's funtion, changing only the SQL, so that it returns all fields in the table.
  • map_ldap_attributes(self, cr, uid, conf, login, ldap_entry)