Skip to main content

Creates a ldap entry when you create a user in Odoo

Project description

License: AGPL-3

Push users to LDAP

This module was written in order to use Odoo as a frontend for creating LDAP entries by creating user records. Updates to the user record will be propagated to the linked LDAP entry afterwards.

When users change their passwords, they will be updated in the LDAP directory too.

Configuration

On the LDAP parameters of your company, check Create ldap entry in order to activate this functionality. Be sure to configure a bind DN that has appropriate permissions to create and modify entries.

Fill in the object classes newly created entries should contain, separated by colons. Those classes will determine which mappings from Odoo fields to LDAP attributes you need. This is highly dependent on your LDAP setup.

For a standard slapd setup, you might want to use object classes inetOrgPerson,shadowAccount and the following mapping:

Odoo field

LDAP attribute

DN

Login

userid

X

Name

cn

Name

sn

Matching is done by the new field ldap_entry_dn, so after installing this module, you’ll probably want to set this field. The module will write it when a user logs in via Odoo.

Usage

When you create or update users, their corresponding LDAP entries will be updated too.

When creating users, there’s a checkbox ‘LDAP user’ which allows you to push the new user to your LDAP directory. This of course only works if you have field mappings for all mandatory fields in your schema.

Try me on Runbot

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

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 http://odoo-community.org.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

File details

Details for the file odoo8_addon_users_ldap_push-8.0.1.1.0-py2-none-any.whl.

File metadata

  • Download URL: odoo8_addon_users_ldap_push-8.0.1.1.0-py2-none-any.whl
  • Upload date:
  • Size: 116.3 kB
  • Tags: Python 2
  • Uploaded using 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

File hashes

Hashes for odoo8_addon_users_ldap_push-8.0.1.1.0-py2-none-any.whl
Algorithm Hash digest
SHA256 d24e47ce3119af1fdae01d4d35b8e520c8e1a75ebcf55ccd9e501035cacf55bf
MD5 b4731421c2c3ce79063827297905a9af
BLAKE2b-256 612d0ac6fa43dca3433ba2ce93c43f70411fabbfc556e46f5c4cdc0bf9e3f60e

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page