1
0
mirror of https://github.com/kakwa/ldapcherry synced 2025-01-22 11:27:20 +01:00
kakwa 3fd6dcee82 fix issue related to python-ldap returning lists
Before, no particular treatment was done on the user attributes.
This caused some issues because python-ldap systematically returns
the attribute value as a list (even if it's mono-valuated).

Now we recover the attributes used in the group attr templates,
and we "normalize" the user attributes before using it in add_to_groups
and del_from_groups.

By normalize, we mean, transforming the list to it's unique value.
In case the attribute doesn't exist or is multi-valuated, it raises an
error.
2017-03-16 02:45:23 +01:00
2016-06-16 22:12:19 +02:00
2015-07-20 01:43:44 +02:00
2017-01-31 20:59:49 +01:00
2017-03-02 18:47:49 -08:00
2017-03-16 02:40:23 +01:00
2016-07-07 20:21:10 +02:00
2016-07-31 13:14:31 +02:00
2014-06-02 19:46:14 +02:00
2015-11-03 22:24:27 +01:00
2017-03-10 00:43:51 +01:00
2015-07-20 00:11:48 +02:00
2015-07-31 20:30:04 +02:00
2017-01-31 20:59:49 +01:00

LdapCherry

image

Nice and simple application to manage users and groups in multiple directory services.

image

image

PyPI version

Documentation Status


Doc

LdapCherry documentation on ReadTheDoc

Dev

LdapCherry source code on GitHub

PyPI

LdapCherry package on Pypi

License

MIT

Author

Pierre-Francois Carpentier - copyright © 2016


Presentation

LdapCherry is a CherryPY application to manage users and groups in multiple directory services.

It's main features are:

  • manage multiple directories/databases backends in an unified way
  • roles management (as in "groups of groups")
  • autofill forms
  • password policy
  • self modification of some selected fields by normal (non administrator) users
  • nice bootstrap interface
  • modular through pluggable authentication, password policy and backend modules

LdapCherry is not limited to ldap, it can handle virtually any user backend (ex: SQL database, htpasswd file, etc) through the proper plugin (provided that it is implemented ^^).

LdapCherry also aims to be as simple as possible to deploy: no crazy dependencies, few configuration files, extensive debug logs and full documentation.

The default backend plugins permit to manage Ldap and Active Directory.

Screenshots

Screenshots.

Try out

# change the directory where to put the configuration (default: /etc)
$ export SYSCONFDIR=<sys conf dir>

# install ldapcherry
$ pip install ldapcherry

# edit configuration files
$ vi /etc/ldapcherry/ldapcherry.ini
$ vi /etc/ldapcherry/roles.yml
$ vi /etc/ldapcherry/attributes.yml

# launch ldapcherry
$ ldapcherryd -c /etc/ldapcherry/ldapcherry.ini

License

LdapCherry is published under the MIT Public License.

Discussion / Help / Updates


image

image

Description
No description provided
Readme MIT 1.6 MiB
Languages
Python 46.4%
Less 42.6%
JavaScript 8.1%
Shell 1.6%
CSS 1.3%