Commit 63ada7c0 authored by Daniel Klaffenbach's avatar Daniel Klaffenbach 🐍

Merge branch 'master' of

parents ed46a9f2 b96d6975
Pipeline #7745 passed with stage
in 36 seconds
[![build status](](
[![coverage report](](
Django-fountain is yet another LDAP user sync app. The main difference compared
to existing solutions is that it does not sync the entire directory. It only
synchronizes the attributes of existing Django users.
......@@ -18,6 +21,7 @@ The following settings may be configured:
- `LDAP_SYNC_URI`: This needs to be a LDAP **URI**, such as `ldaps://,dc=example,dc=org`
- `LDAP_SYNC_USER_ATTRIBUTES`: A dictionary mapping LDAP attributes to Django model attributes
- `LDAP_SYNC_IS_ACTIVE`: Normally a user account is disabled when the user was not found in LDAP. Set this to `False` if you do not want this behavior.
Default values are used if the settings are not present. They may or may not work.
......@@ -30,3 +34,9 @@ attributes of all users regularly the following management command may be used:
./ ldap_sync
By default the `ldap_sync` command will disable all users which cannot be found
in the LDAP directory. You can either prevent syncing of specified users
(see `--exclude` and/or `--exclude-regex` command line switches) or you can
prevent touching the `is_active` flag for all users by changing the setting
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment