Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
F
fountain
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
1
Issues
1
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
urz-django
fountain
Commits
262adfd3
Commit
262adfd3
authored
Apr 25, 2017
by
Daniel Klaffenbach
🐍
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update README.md
parent
3f18d0ae
Pipeline
#7737
passed with stage
in 1 minute and 8 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
0 deletions
+10
-0
README.md
README.md
+10
-0
No files found.
README.md
View file @
262adfd3
django-fountain
===============
[

](https://gitlab.hrz.tu-chemnitz.de/tuccard/tuccard/commits/master)
[

](https://gitlab.hrz.tu-chemnitz.de/urz-django/fountain/commits/master)
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://ldap.example.org/ou=Users,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:
```
bash
./manage.py 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
`LDAP_SYNC_IS_ACTIVE`
to
`False`
.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment