mirror of
https://github.com/kakwa/ldapcherry
synced 2024-12-22 21:00:04 +01:00
kakwa
320f57ab76
fix self user password modification in AD Backend
In some forms, the 'cn' attribute might not be accessible. The _set_password method relied on 'cn' to build the user dn. Now it accepts the cn or the dn (by_cn switch).
LdapCherry
Nice and simple application to manage users and groups in multiple directory services.
- Doc
- Dev
- 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
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
Languages
Python
46.4%
Less
42.6%
JavaScript
8.1%
Shell
1.6%
CSS
1.3%