Skip to main content
License: AGPL-3

LDAP groups assignment

Adds user accounts to groups based on rules defined by the administrator.

Usage

Define mappings in Settings / General Settings / LDAP Parameters

Decide whether you want only groups mapped from ldap (Only ldap groups checked) or a mix of manually set groups and ldap groups (Only ldap groups unchecked). 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 Odoo 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.

Bug Tracker

Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us smashing it by providing a detailed and welcomed feedback here.

Credits

Images

  • Odoo Community Association: Icon.

Contributors

Maintainer

Odoo Community Association

This module is maintained by the OCA.

OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use.

To contribute to this module, please visit https://odoo-community.org.

Metadata

Release files for odoo10-addon-users-ldap-groups 10.0.0.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for odoo10-addon-users-ldap-groups 10.0.0.0.1
File Interpreter ABI Platform
odoo10_addon_users_ldap_groups-10.0.0.0.1-py2-none-any.whl Python 2 none any Details

Release files / odoo10_addon_users_ldap_groups-10.0.0.0.1-py2-none-any.whl

Download URL odoo10_addon_users_ldap_groups-10.0.0.0.1-py2-none-any.whl
Size 29.9 kB
Tags Python 2
SHA-256 checksum
How to use checksums
c59dab5027c78bba2aa5e1f6f01f2cc338fdec56f6e1c105b6809ba908993734
BLAKE2b-256 checksum
How to use checksums
8b733ae1dc38d21f3ad9c2bfb9946bd812245eea5024a6d67dc03efd1ecb6095
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/30.4.0 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/3.5.3
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page