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
ab3e68fa
Commit
ab3e68fa
authored
May 10, 2016
by
Daniel Klaffenbach
🐍
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of gitlab.hrz.tu-chemnitz.de:urz-django/fountain
parents
4091047b
fd2d0b10
Pipeline
#2228
failed with stage
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
32 additions
and
0 deletions
+32
-0
README.md
README.md
+32
-0
No files found.
README.md
0 → 100644
View file @
ab3e68fa
django-fountain
===============
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.
Installation
------------
1.
Install
`django-fountain`
through
`pip`
2.
Add
`fountain`
to
`INSTALLED_APPS`
Configuration
-------------
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
Default values are used if the settings are not present. They may or may not work.
Regular attribute sync
----------------------
Normally attributes are only synced when a user is being created. To update the
attributes of all users regularly the following management command may be used:
```
bash
./manage.py ldap_sync
```
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