| REPOSITORY | |
|---|---|
| REPOSITORY | OCA/server-auth |
| GIT | |
| GIT | https://github.com/OCA/server-auth.git |
| GIT FOLDER | |
| GIT FOLDER | https://github.com/OCA/server-auth/tree/17.0/users_ldap_groups |
| VERSION | |
| VERSION | 1.0.0 |
| CATEGORY | |
| CATEGORY | Authentication |
| LICENSE | |
| LICENSE | AGPL-3 |
| APPLICATION | |
| APPLICATION | No |
| AUTO-INSTALLABLE | |
| AUTO-INSTALLABLE | No |
| AUTHORS | |
| AUTHORS | Odoo Community Association (OCA), Therp BV |
| MAINTAINERS | |
| MAINTAINERS | Odoo Community Association (OCA), Therp BV |
| COMMITTERS | |
| COMMITTERS | OCA-git-bot, oca-ci, Ryan Cole |
| WEBSITE | |
| WEBSITE | https://github.com/OCA/server-auth |
| LAST TRACKING UPDATE | |
| LAST TRACKING UPDATE | 2026-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 | [](https://www.gnu.org/licenses/agpl) Adds user accounts to groups based on rules defined by the administrator. |
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
view_ldap_installer_form |
res.company.ldap.form | res.company.ldap | xpath | Inherits auth_ldap.view_ldap_installer_form |
group_mapping_ids
One2many → res.company.ldap.group_mapping
help='Define how Odoo groups are assigned to LDAP users'
args: 'res.company.ldap.group_mapping', 'ldap_id', 'Group mappings'
only_ldap_groups
Boolean
default=False
help='If this is checked, manual changes to group membership are undone on every login (so Odoo groups are always synchronous with LDAP groups). If not, manually added groups are preserved.'
args: 'Only LDAP groups'
No public methods.
group_id
Many2one → res.groups
help='The Odoo group to assign'
required=True
args: 'res.groups', 'Odoo group'
ldap_attribute
Char
help='The LDAP attribute to check.\nFor active directory, use memberOf.'
args: 'LDAP attribute'
ldap_id
Many2one → res.company.ldap
ondelete='cascade'
required=True
args: 'res.company.ldap', 'LDAP server'
operator
Selection
help="The operator to check the attribute against the value\nFor active directory, use 'contains'"
required=True
args: <expr>
value
Char
help='The value to check the attribute against.\nFor active directory, use the dn of the desired group'
required=True
No public methods.
No new fields.
Public methods (2)operators(self)
safe_ldap_decode(self, attr)
No new fields.
Public methods (0)No public methods.
| REPOSITORY | |
|---|---|
| REPOSITORY | OCA/server-auth |
| GIT | |
| GIT | https://github.com/OCA/server-auth.git |
| GIT FOLDER | |
| GIT FOLDER | https://github.com/OCA/server-auth/tree/16.0/users_ldap_groups |
| VERSION | |
| VERSION | 1.0.1 |
| CATEGORY | |
| CATEGORY | Authentication |
| LICENSE | |
| LICENSE | AGPL-3 |
| APPLICATION | |
| APPLICATION | No |
| AUTO-INSTALLABLE | |
| AUTO-INSTALLABLE | No |
| AUTHORS | |
| AUTHORS | Odoo Community Association (OCA), Therp BV |
| MAINTAINERS | |
| MAINTAINERS | Odoo Community Association (OCA), Therp BV |
| COMMITTERS | |
| COMMITTERS | GitHub, Weblate, OCA-git-bot, oca-ci, Carolina Fernandez, Esa Jokinen |
| WEBSITE | |
| WEBSITE | https://github.com/OCA/server-auth |
| LAST TRACKING UPDATE | |
| LAST TRACKING UPDATE | 2026-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 | |
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
view_ldap_installer_form |
res.company.ldap.form | res.company.ldap | xpath | Inherits auth_ldap.view_ldap_installer_form |
group_mapping_ids
One2many → res.company.ldap.group_mapping
help='Define how Odoo groups are assigned to LDAP users'
args: 'res.company.ldap.group_mapping', 'ldap_id', 'Group mappings'
only_ldap_groups
Boolean
default=False
help='If this is checked, manual changes to group membership are undone on every login (so Odoo groups are always synchronous with LDAP groups). If not, manually added groups are preserved.'
args: 'Only LDAP groups'
No public methods.
group_id
Many2one → res.groups
help='The Odoo group to assign'
required=True
args: 'res.groups', 'Odoo group'
ldap_attribute
Char
help='The LDAP attribute to check.\nFor active directory, use memberOf.'
args: 'LDAP attribute'
ldap_id
Many2one → res.company.ldap
ondelete='cascade'
required=True
args: 'res.company.ldap', 'LDAP server'
operator
Selection
help="The operator to check the attribute against the value\nFor active directory, use 'contains'"
required=True
args: <expr>
value
Char
help='The value to check the attribute against.\nFor active directory, use the dn of the desired group'
required=True
No public methods.
No new fields.
Public methods (2)operators(self)
safe_ldap_decode(self, attr)
No new fields.
Public methods (0)No public methods.
| REPOSITORY | |
|---|---|
| REPOSITORY | OCA/server-auth |
| GIT | |
| GIT | https://github.com/OCA/server-auth.git |
| GIT FOLDER | |
| GIT FOLDER | https://github.com/OCA/server-auth/tree/15.0/users_ldap_groups |
| VERSION | |
| VERSION | 1.0.1 |
| CATEGORY | |
| CATEGORY | Authentication |
| LICENSE | |
| LICENSE | AGPL-3 |
| APPLICATION | |
| APPLICATION | No |
| AUTO-INSTALLABLE | |
| AUTO-INSTALLABLE | No |
| AUTHORS | |
| AUTHORS | Odoo Community Association (OCA), Therp BV |
| MAINTAINERS | |
| MAINTAINERS | Odoo Community Association (OCA), Therp BV |
| COMMITTERS | |
| COMMITTERS | Stéphane Bidoul, Weblate, OCA-git-bot, oca-ci, Ruben Ortlam |
| WEBSITE | |
| WEBSITE | https://github.com/OCA/server-auth |
| LAST TRACKING UPDATE | |
| LAST TRACKING UPDATE | 2026-07-06 00:46:32 |
| 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 | |
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
view_ldap_installer_form |
res.company.ldap.form | res.company.ldap | xpath | Inherits auth_ldap.view_ldap_installer_form |
group_mapping_ids
One2many → res.company.ldap.group_mapping
help='Define how Odoo groups are assigned to LDAP users'
args: 'res.company.ldap.group_mapping', 'ldap_id', 'Group mappings'
only_ldap_groups
Boolean
default=False
help='If this is checked, manual changes to group membership are undone on every login (so Odoo groups are always synchronous with LDAP groups). If not, manually added groups are preserved.'
args: 'Only LDAP groups'
No public methods.
group_id
Many2one → res.groups
help='The Odoo group to assign'
required=True
args: 'res.groups', 'Odoo group'
ldap_attribute
Char
help='The LDAP attribute to check.\nFor active directory, use memberOf.'
args: 'LDAP attribute'
ldap_id
Many2one → res.company.ldap
ondelete='cascade'
required=True
args: 'res.company.ldap', 'LDAP server'
operator
Selection
help="The operator to check the attribute against the value\nFor active directory, use 'contains'"
required=True
args: <expr>
value
Char
help='The value to check the attribute against.\nFor active directory, use the dn of the desired group'
required=True
No public methods.
No new fields.
Public methods (1)operators(self)
No new fields.
Public methods (0)No public methods.
| REPOSITORY | |
|---|---|
| REPOSITORY | OCA/server-auth |
| GIT | |
| GIT | https://github.com/OCA/server-auth.git |
| GIT FOLDER | |
| GIT FOLDER | https://github.com/OCA/server-auth/tree/14.0/users_ldap_groups |
| VERSION | |
| VERSION | 1.0.1 |
| CATEGORY | |
| CATEGORY | Authentication |
| LICENSE | |
| LICENSE | AGPL-3 |
| APPLICATION | |
| APPLICATION | No |
| AUTO-INSTALLABLE | |
| AUTO-INSTALLABLE | No |
| AUTHORS | |
| AUTHORS | Odoo Community Association (OCA), Therp BV |
| MAINTAINERS | |
| MAINTAINERS | Odoo Community Association (OCA), Therp BV |
| COMMITTERS | |
| COMMITTERS | Stéphane Bidoul, OCA Transbot, oca-travis, Weblate, OCA-git-bot, dsolanki |
| WEBSITE | |
| WEBSITE | https://github.com/OCA/server-auth |
| LAST TRACKING UPDATE | |
| LAST TRACKING UPDATE | 2026-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 | |
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
view_ldap_installer_form |
res.company.ldap.form | res.company.ldap | xpath | Inherits auth_ldap.view_ldap_installer_form |
group_mapping_ids
One2many → res.company.ldap.group_mapping
help='Define how Odoo groups are assigned to LDAP users'
args: 'res.company.ldap.group_mapping', 'ldap_id', 'Group mappings'
only_ldap_groups
Boolean
default=False
help='If this is checked, manual changes to group membership are undone on every login (so Odoo groups are always synchronous with LDAP groups). If not, manually added groups are preserved.'
args: 'Only LDAP groups'
No public methods.
group_id
Many2one → res.groups
help='The Odoo group to assign'
required=True
args: 'res.groups', 'Odoo group'
ldap_attribute
Char
help='The LDAP attribute to check.\nFor active directory, use memberOf.'
args: 'LDAP attribute'
ldap_id
Many2one → res.company.ldap
ondelete='cascade'
required=True
args: 'res.company.ldap', 'LDAP server'
operator
Selection
help="The operator to check the attribute against the value\nFor active directory, use 'contains'"
required=True
args: <expr>, 'Operator'
value
Char
help='The value to check the attribute against.\nFor active directory, use the dn of the desired group'
required=True
args: 'Value'
No public methods.
No new fields.
Public methods (1)operators(self)
No new fields.
Public methods (0)No public methods.
| REPOSITORY | |
|---|---|
| REPOSITORY | OCA/server-auth |
| GIT | |
| GIT | https://github.com/OCA/server-auth.git |
| GIT FOLDER | |
| GIT FOLDER | https://github.com/OCA/server-auth/tree/13.0/users_ldap_groups |
| VERSION | |
| VERSION | 1.0.1 |
| CATEGORY | |
| CATEGORY | Authentication |
| LICENSE | |
| LICENSE | AGPL-3 |
| APPLICATION | |
| APPLICATION | No |
| AUTO-INSTALLABLE | |
| AUTO-INSTALLABLE | No |
| AUTHORS | |
| AUTHORS | Odoo Community Association (OCA), Therp BV |
| MAINTAINERS | |
| MAINTAINERS | Odoo Community Association (OCA), Therp BV |
| COMMITTERS | |
| COMMITTERS | Stéphane Bidoul, João Marques, oca-travis, Weblate, OCA-git-bot |
| WEBSITE | |
| WEBSITE | https://github.com/OCA/server-auth |
| LAST TRACKING UPDATE | |
| LAST TRACKING UPDATE | 2026-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 | |
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
view_ldap_installer_form |
res.company.ldap.form | res.company.ldap | xpath | Inherits auth_ldap.view_ldap_installer_form |
group_mapping_ids
One2many → res.company.ldap.group_mapping
help='Define how Odoo groups are assigned to LDAP users'
args: 'res.company.ldap.group_mapping', 'ldap_id', 'Group mappings'
only_ldap_groups
Boolean
default=False
help='If this is checked, manual changes to group membership are undone on every login (so Odoo groups are always synchronous with LDAP groups). If not, manually added groups are preserved.'
args: 'Only LDAP groups'
No public methods.
group_id
Many2one → res.groups
help='The Odoo group to assign'
required=True
args: 'res.groups', 'Odoo group'
ldap_attribute
Char
help='The LDAP attribute to check.\nFor active directory, use memberOf.'
args: 'LDAP attribute'
ldap_id
Many2one → res.company.ldap
ondelete='cascade'
required=True
args: 'res.company.ldap', 'LDAP server'
operator
Selection
help="The operator to check the attribute against the value\nFor active directory, use 'contains'"
required=True
args: <expr>, 'Operator'
value
Char
help='The value to check the attribute against.\nFor active directory, use the dn of the desired group'
required=True
args: 'Value'
No public methods.
No new fields.
Public methods (1)operators(self)
No new fields.
Public methods (0)No public methods.
| REPOSITORY | |
|---|---|
| REPOSITORY | OCA/server-auth |
| GIT | |
| GIT | https://github.com/OCA/server-auth.git |
| GIT FOLDER | |
| GIT FOLDER | https://github.com/OCA/server-auth/tree/12.0/users_ldap_groups |
| VERSION | |
| VERSION | 1.0.1 |
| CATEGORY | |
| CATEGORY | Authentication |
| LICENSE | |
| LICENSE | AGPL-3 |
| APPLICATION | |
| APPLICATION | No |
| AUTO-INSTALLABLE | |
| AUTO-INSTALLABLE | No |
| AUTHORS | |
| AUTHORS | Odoo Community Association (OCA), Therp BV |
| MAINTAINERS | |
| MAINTAINERS | Odoo Community Association (OCA), Therp BV |
| COMMITTERS | |
| COMMITTERS | Stéphane Bidoul, Holger Brunn, Alexey Pelykh, OCA Transbot, oca-travis, OCA-git-bot |
| WEBSITE | |
| WEBSITE | https://github.com/OCA/server-auth |
| LAST TRACKING UPDATE | |
| LAST TRACKING UPDATE | 2026-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 | |
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
view_ldap_installer_form |
res.company.ldap.form | res.company.ldap | xpath | Inherits auth_ldap.view_ldap_installer_form |
group_mapping_ids
One2many → res.company.ldap.group_mapping
help='Define how Odoo groups are assigned to LDAP users'
args: 'res.company.ldap.group_mapping', 'ldap_id', 'Group mappings'
only_ldap_groups
Boolean
default=False
help='If this is checked, manual changes to group membership are undone on every login (so Odoo groups are always synchronous with LDAP groups). If not, manually added groups are preserved.'
args: 'Only LDAP groups'
No public methods.
group_id
Many2one → res.groups
help='The Odoo group to assign'
required=True
args: 'res.groups', 'Odoo group'
ldap_attribute
Char
help='The LDAP attribute to check.\nFor active directory, use memberOf.'
args: 'LDAP attribute'
ldap_id
Many2one → res.company.ldap
ondelete='cascade'
required=True
args: 'res.company.ldap', 'LDAP server'
operator
Selection
help="The operator to check the attribute against the value\nFor active directory, use 'contains'"
required=True
args: <expr>, 'Operator'
value
Char
help='The value to check the attribute against.\nFor active directory, use the dn of the desired group'
required=True
args: 'Value'
No public methods.
No new fields.
Public methods (4)contains(self, ldap_entry, mapping)
equals(self, ldap_entry, mapping)
operators(self)
query(self, ldap_entry, mapping)
No new fields.
Public methods (0)No public methods.
| REPOSITORY | |
|---|---|
| REPOSITORY | OCA/server-tools |
| GIT | |
| GIT | https://github.com/OCA/server-tools.git |
| GIT FOLDER | |
| GIT FOLDER | https://github.com/OCA/server-tools/tree/11.0/users_ldap_groups |
| VERSION | |
| VERSION | 1.0.0 |
| CATEGORY | |
| CATEGORY | Authentication |
| LICENSE | |
| LICENSE | AGPL-3 |
| APPLICATION | |
| APPLICATION | No |
| AUTO-INSTALLABLE | |
| AUTO-INSTALLABLE | No |
| AUTHORS | |
| AUTHORS | Odoo Community Association (OCA), initOS GmbH, Therp BV |
| MAINTAINERS | |
| MAINTAINERS | Odoo Community Association (OCA), initOS GmbH, Therp BV |
| COMMITTERS | |
| COMMITTERS | OCA Transbot, oca-travis, OCA-git-bot, Tom Blauwendraat, dsolanki |
| WEBSITE | |
| WEBSITE | https://github.com/OCA/server-tools |
| LAST TRACKING UPDATE | |
| LAST TRACKING UPDATE | 2026-07-06 00:24:00 |
| 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 | |
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
view_ldap_installer_form |
res.company.ldap.form | res.company.ldap | xpath | Inherits auth_ldap.view_ldap_installer_form |
group_mapping_ids
One2many → res.company.ldap.group_mapping
help='Define how Odoo groups are assigned to ldap users'
args: 'res.company.ldap.group_mapping', 'ldap_id', 'Group mappings'
only_ldap_groups
Boolean
default=False
help='If this is checked, manual changes to group membership are undone on every login (so Odoo groups are always synchronous with LDAP groups). If not, manually added groups are preserved.'
args: 'Only ldap groups'
get_or_create_user(self, conf, login, ldap_entry)
group_id
Many2one → res.groups
help='The Odoo group to assign'
oldname='group'
required=True
args: 'res.groups', 'Odoo group'
ldap_attribute
Char
help='The LDAP attribute to check.\nFor active directory, use memberOf.'
args: 'LDAP attribute'
ldap_id
Many2one → res.company.ldap
ondelete='cascade'
required=True
args: 'res.company.ldap', 'LDAP server'
operator
Selection
help="The operator to check the attribute against the value\nFor active directory, use 'contains'"
required=True
args: <expr>, 'Operator'
value
Char
help='The value to check the attribute against.\nFor active directory, use the dn of the desired group'
required=True
args: 'Value'
No public methods.
No new fields.
Public methods (4)contains(self, ldap_entry, mapping)
equals(self, ldap_entry, mapping)
operators(self)
query(self, ldap_entry, mapping)
No new fields.
Public methods (0)No public methods.
| REPOSITORY | |
|---|---|
| REPOSITORY | OCA/server-tools |
| GIT | |
| GIT | https://github.com/OCA/server-tools.git |
| GIT FOLDER | |
| GIT FOLDER | https://github.com/OCA/server-tools/tree/10.0/users_ldap_groups |
| VERSION | |
| VERSION | 0.0.1 |
| CATEGORY | |
| CATEGORY | Authentication |
| LICENSE | |
| LICENSE | AGPL-3 |
| APPLICATION | |
| APPLICATION | No |
| AUTO-INSTALLABLE | |
| AUTO-INSTALLABLE | No |
| AUTHORS | |
| AUTHORS | Odoo Community Association (OCA), Therp BV |
| MAINTAINERS | |
| MAINTAINERS | Odoo Community Association (OCA), Therp BV |
| COMMITTERS | |
| COMMITTERS | Holger Brunn, Pedro M. Baeza, Stéphane Bidoul (ACSONE), oca-travis, OCA-git-bot, Robin Hède |
| WEBSITE | |
| WEBSITE | |
| LAST TRACKING UPDATE | |
| LAST TRACKING UPDATE | 2026-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 | |
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
company_form_view |
base.config.settings | xpath | Inherits auth_ldap.view_general_configuration_form_inherit_auth_ldap |
group_mapping_ids
One2many → res.company.ldap.group_mapping
help='Define how Odoo groups are assigned to ldap users'
args: 'res.company.ldap.group_mapping', 'ldap_id', 'Group mappings'
only_ldap_groups
Boolean
default=False
help='If this is checked, manual changes to group membership are undone on every login (so Odoo groups are always synchronous with LDAP groups). If not, manually added groups are preserved.'
args: 'Only ldap groups'
get_or_create_user(self, conf, login, ldap_entry)
group_id
Many2one → res.groups
help='The Odoo group to assign'
oldname='group'
required=True
args: 'res.groups', 'Odoo group'
ldap_attribute
Char
help='The LDAP attribute to check.\nFor active directory, use memberOf.'
args: 'LDAP attribute'
ldap_id
Many2one → res.company.ldap
ondelete='cascade'
required=True
args: 'res.company.ldap', 'LDAP server'
operator
Selection
help="The operator to check the attribute against the value\nFor active directory, use 'contains'"
required=True
args: <expr>, 'Operator'
value
Char
help='The value to check the attribute against.\nFor active directory, use the dn of the desired group'
required=True
args: 'Value'
No public methods.
No new fields.
Public methods (4)contains(self, ldap_entry, mapping)
equals(self, ldap_entry, mapping)
operators(self)
query(self, ldap_entry, mapping)
No new fields.
Public methods (0)No public methods.
| REPOSITORY | |
|---|---|
| REPOSITORY | OCA/server-tools |
| GIT | |
| GIT | https://github.com/OCA/server-tools.git |
| GIT FOLDER | |
| GIT FOLDER | https://github.com/OCA/server-tools/tree/9.0/users_ldap_groups |
| VERSION | |
| VERSION | 1.2.0 |
| CATEGORY | |
| CATEGORY | Tools |
| LICENSE | |
| LICENSE | AGPL-3 |
| APPLICATION | |
| APPLICATION | No |
| AUTO-INSTALLABLE | |
| AUTO-INSTALLABLE | No |
| AUTHORS | |
| AUTHORS | Odoo Community Association (OCA), Therp BV |
| MAINTAINERS | |
| MAINTAINERS | Odoo Community Association (OCA), Therp BV |
| COMMITTERS | |
| COMMITTERS | Pedro M. Baeza, Stéphane Bidoul (ACSONE) |
| WEBSITE | |
| WEBSITE | |
| LAST TRACKING UPDATE | |
| LAST TRACKING UPDATE | 2026-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 | |
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
company_form_view |
res.company.form.inherit.users_ldap_groups | res.company | xpath | Inherits auth_ldap.company_form_view |
group_mappings
One2many → res.company.ldap.group_mapping
help='Define how OpenERP groups are assigned to ldap users'
args: 'res.company.ldap.group_mapping', 'ldap_id', 'Group mappings'
only_ldap_groups
Boolean
help='If this is checked, manual changes to group membership are undone on every login (so OpenERP groups are always synchronous with LDAP groups). If not, manually added groups are preserved.'
args: 'Only ldap groups'
get_or_create_user(self, conf, login, ldap_entry)
group
Many2one → res.groups
help='The OpenERP group to assign'
required=True
args: 'res.groups', 'OpenERP group'
ldap_attribute
Char
help='The LDAP attribute to check.\nFor active directory, use memberOf.'
args: 'LDAP attribute'
ldap_id
Many2one → res.company.ldap
required=True
args: 'res.company.ldap', 'LDAP server'
operator
Selection
help="The operator to check the attribute against the value\nFor active directory, use 'contains'"
required=True
args: _get_operators, 'Operator'
value
Char
help='The value to check the attribute against.\nFor active directory, use the dn of the desired group'
required=True
args: 'Value'
No public methods.
No new fields.
Public methods (4)contains(self, ldap_entry, attribute, value, ldap_config, company, logger)
equals(self, ldap_entry, attribute, value, ldap_config, company, logger)
operators(self)
query(self, ldap_entry, attribute, value, ldap_config, company, logger)
| REPOSITORY | |
|---|---|
| REPOSITORY | OCA/server-tools |
| GIT | |
| GIT | https://github.com/OCA/server-tools.git |
| GIT FOLDER | |
| GIT FOLDER | https://github.com/OCA/server-tools/tree/8.0/users_ldap_groups |
| VERSION | |
| VERSION | 1.2.2 |
| CATEGORY | |
| CATEGORY | Tools |
| LICENSE | |
| LICENSE | AGPL-3 |
| APPLICATION | |
| APPLICATION | No |
| AUTO-INSTALLABLE | |
| AUTO-INSTALLABLE | No |
| AUTHORS | |
| AUTHORS | Odoo Community Association (OCA), Therp BV |
| MAINTAINERS | |
| MAINTAINERS | Odoo Community Association (OCA), Therp BV |
| COMMITTERS | |
| COMMITTERS | Stéphane Bidoul, Yannick Vaucher, GitHub, Stéphane Bidoul (ACSONE), luc-demeyer, OCA Transbot, Giacomo Spettoli, Moises Lopez - https://www.vauxoo.com/, oca-travis, Weblate, Martin Ambroz |
| WEBSITE | |
| WEBSITE | |
| LAST TRACKING UPDATE | |
| LAST TRACKING UPDATE | 2026-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 | |
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
company_form_view |
res.company.form.inherit.users_ldap_groups | res.company | xpath | Inherits auth_ldap.company_form_view |
group_mappings
One2many → res.company.ldap.group_mapping
help='Define how OpenERP groups are assigned to ldap users'
args: 'res.company.ldap.group_mapping', 'ldap_id', 'Group mappings'
only_ldap_groups
Boolean
help='If this is checked, manual changes to group membership are undone on every login (so OpenERP groups are always synchronous with LDAP groups). If not, manually added groups are preserved.'
args: 'Only ldap groups'
get_or_create_user(self, ldap_config, login, ldap_entry)
map_groups(self, user_id, ldap_config, ldap_entry)
group
Many2one → res.groups
help='The OpenERP group to assign'
required=True
args: 'res.groups', 'OpenERP group'
ldap_attribute
Char
help='The LDAP attribute to check.\nFor active directory, use memberOf.'
args: 'LDAP attribute'
ldap_id
Many2one → res.company.ldap
required=True
args: 'res.company.ldap', 'LDAP server'
operator
Selection
help="The operator to check the attribute against the value\nFor active directory, use 'contains'"
required=True
args: _get_operators, 'Operator'
value
Char
help='The value to check the attribute against.\nFor active directory, use the dn of the desired group'
required=True
args: 'Value'
No public methods.
No new fields.
Public methods (4)contains(self, ldap_entry, attribute, value, ldap_config, company)
equals(self, ldap_entry, attribute, value, ldap_config, company)
operators(self)
query(self, ldap_entry, attribute, value, ldap_config, company)
No new fields.
Public methods (0)No public methods.
| REPOSITORY | |
|---|---|
| REPOSITORY | OCA/server-tools |
| GIT | |
| GIT | https://github.com/OCA/server-tools.git |
| GIT FOLDER | |
| GIT FOLDER | https://github.com/OCA/server-tools/tree/7.0/users_ldap_groups |
| VERSION | |
| VERSION | 1.2.1 |
| CATEGORY | |
| CATEGORY | Tools |
| LICENSE | |
| LICENSE | LGPL-3 |
| APPLICATION | |
| APPLICATION | No |
| AUTO-INSTALLABLE | |
| AUTO-INSTALLABLE | No |
| AUTHORS | |
| AUTHORS | Odoo Community Association (OCA), Therp BV |
| MAINTAINERS | |
| MAINTAINERS | Odoo Community Association (OCA), Therp BV |
| COMMITTERS | |
| COMMITTERS | Yannick Vaucher, Alexandre Fayolle, Sandy Carter, Sylvain LE GAL, Jairo Llopis, Daniel Reis |
| WEBSITE | |
| WEBSITE | |
| LAST TRACKING UPDATE | |
| LAST TRACKING UPDATE | 2026-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 | Adds user accounts to groups based on rules defined by the administrator. Usage: Define mappings in Settings->Companies->[your company]->tab configuration->[your ldap server]. Decide whether you want only groups mapped from ldap (Only ldap groups=y) or a mix of manually set groups and ldap groups (Only ldap groups=n). Setting this to 'no' will result in users never losing privileges when you remove them from a ldap group, so that's a potential security issue. It is still the default to prevent losing group information by accident. For active directory, use LDAP attribute 'memberOf' and operator 'contains'. Fill in the DN of the windows group as value and choose an OpenERP group users with this windows group are to be assigned to. For posix accounts, use operator 'query' and a value like (&(cn=bzr)(objectClass=posixGroup)(memberUid=$uid)) The operator query matches if the filter in value returns something, and value can contain $[attribute] which will be replaced by the first value of the user's ldap record's attribute named [attribute]. |
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
company_form_view |
res.company.form.inherit.users_ldap_groups | res.company | xpath | Inherits auth_ldap.company_form_view |
No new fields.
Public methods (1)get_or_create_user(self, cr, uid, conf, login, ldap_entry, context=None)
No new fields.
Public methods (0)No public methods.
| STATUS | |
|---|---|
| STATUS | Open migration PR - not merged yet for this version |
| REPOSITORY | |
| REPOSITORY | OCA/server-auth |
| PULL REQUEST | |
| PULL REQUEST | [18.0][MIG] users_ldap_groups : Migration to v18 (#889) |