You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

84 lines
2.8 KiB

  1. .. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg
  2. :alt: License: AGPL-3
  3. ==================
  4. Push users to LDAP
  5. ==================
  6. This module was written in order to use Odoo as a frontend for creating LDAP
  7. entries by creating user records. Updates to the user record will be propagated
  8. to the linked LDAP entry afterwards.
  9. When users change their passwords, they will be updated in the LDAP directory
  10. too.
  11. Configuration
  12. =============
  13. On the LDAP parameters of your company, check *Create ldap entry* in order to
  14. activate this functionality. Be sure to configure a bind DN that has
  15. appropriate permissions to create and modify entries.
  16. Fill in the object classes newly created entries should contain, separated by
  17. colons. Those classes will determine which mappings from Odoo fields to LDAP
  18. attributes you need. This is highly dependent on your LDAP setup.
  19. For a standard slapd setup, you might want to use object classes
  20. `inetOrgPerson,shadowAccount` and the following mapping:
  21. ========== ============== ==
  22. Odoo field LDAP attribute DN
  23. ========== ============== ==
  24. Login userid X
  25. Name cn
  26. Name sn
  27. ========== ============== ==
  28. Matching is done by the new field *ldap_entry_dn*, so after installing this
  29. module, you'll probably want to set this field. The module will write it when
  30. a user logs in via Odoo.
  31. Usage
  32. =====
  33. When you create or update users, their corresponding LDAP entries will be
  34. updated too.
  35. When creating users, there's a checkbox 'LDAP user' which allows you to push
  36. the new user to your LDAP directory. This of course only works if you have
  37. field mappings for all mandatory fields in your schema.
  38. .. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas
  39. :alt: Try me on Runbot
  40. :target: https://runbot.odoo-community.org/runbot/149/8.0
  41. Bug Tracker
  42. ===========
  43. Bugs are tracked on `GitHub Issues <https://github.com/OCA/server-tools/issues>`_.
  44. In case of trouble, please check there if your issue has already been reported.
  45. If you spotted it first, help us smashing it by providing a detailed and welcomed feedback
  46. `here <https://github.com/OCA/server-tools/issues/new?body=module:%20users_ldap_push%0Aversion:%208.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
  47. Credits
  48. =======
  49. Contributors
  50. ------------
  51. * Holger Brunn <hbrunn@therp.nl>
  52. Maintainer
  53. ----------
  54. .. image:: https://odoo-community.org/logo.png
  55. :alt: Odoo Community Association
  56. :target: https://odoo-community.org
  57. This module is maintained by the OCA.
  58. OCA, or the Odoo Community Association, is a nonprofit organization whose
  59. mission is to support the collaborative development of Odoo features and
  60. promote its widespread use.
  61. To contribute to this module, please visit http://odoo-community.org.