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.

65 lines
2.2 KiB

  1. .. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg
  2. :alt: License: AGPL-3
  3. users_ldap_groups
  4. =================
  5. Adds user accounts to groups based on rules defined by the administrator.
  6. Usage
  7. =====
  8. Define mappings in Settings->Companies->[your company]->tab configuration->[
  9. your ldap server].
  10. Decide whether you want only groups mapped from ldap (Only ldap groups=y) or a
  11. mix of manually set groups and ldap groups (Only ldap groups=n). Setting this
  12. to 'no' will result in users never losing privileges when you remove them from
  13. a ldap group, so that's a potential security issue. It is still the default to
  14. prevent losing group information by accident.
  15. For active directory, use LDAP attribute 'memberOf' and operator 'contains'.
  16. Fill in the DN of the windows group as value and choose an OpenERP group users
  17. with this windows group are to be assigned to.
  18. For posix accounts, use operator 'query' and a value like
  19. (&(cn=bzr)(objectClass=posixGroup)(memberUid=$uid))
  20. The operator query matches if the filter in value returns something, and value
  21. can contain $[attribute] which will be replaced by the first value of the
  22. user's ldap record's attribute named [attribute].
  23. Bug Tracker
  24. ===========
  25. Bugs are tracked on `GitHub Issues <https://github.com/OCA/server-tools/issues>`_.
  26. In case of trouble, please check there if your issue has already been reported.
  27. If you spotted it first, help us smashing it by providing a detailed and welcomed feedback
  28. `here <https://github.com/OCA/server-tools/issues/new?body=module:%20{module_name}%0Aversion:%20{version}%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
  29. Credits
  30. =======
  31. Contributors
  32. ------------
  33. * Therp BV <info@therp.nl>
  34. * Giacomo Spettoli <giacomo.spettoli@gmail.com>
  35. * Luc De Meyer <luc.demeyer@noviat.com>
  36. Maintainer
  37. ----------
  38. .. image:: https://odoo-community.org/logo.png
  39. :alt: Odoo Community Association
  40. :target: https://odoo-community.org
  41. This module is maintained by the OCA.
  42. OCA, or the Odoo Community Association, is a nonprofit organization whose
  43. mission is to support the collaborative development of Odoo features and
  44. promote its widespread use.
  45. To contribute to this module, please visit http://odoo-community.org.