Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Helios Server
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
TO
Helios Server
Commits
16d932a8
Commit
16d932a8
authored
9 years ago
by
Shirlei Chaves
Browse files
Options
Downloads
Patches
Plain Diff
Remove django-ldap-auth config not being used
parent
93e58f65
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
settings.py
+3
-5
3 additions, 5 deletions
settings.py
with
3 additions
and
5 deletions
settings.py
+
3
−
5
View file @
16d932a8
...
...
@@ -245,7 +245,7 @@ CLEVER_CLIENT_SECRET = get_from_env('CLEVER_CLIENT_SECRET', "")
# ldap
# see configuration example at https://pythonhosted.org/django-auth-ldap/example.html
AUTH_LDAP_SERVER_URI
=
"
ldap://l
dap.forumsys.com
"
# replace by your Ldap URI
AUTH_LDAP_SERVER_URI
=
"
ldap://l
ocalhost
"
# replace by your Ldap URI
AUTH_LDAP_BIND_DN
=
"
cn=read-only-admin,dc=example,dc=com
"
AUTH_LDAP_BIND_PASSWORD
=
"
password
"
AUTH_LDAP_USER_SEARCH
=
LDAPSearch
(
"
dc=example,dc=com
"
,
...
...
@@ -257,11 +257,9 @@ AUTH_LDAP_USER_ATTR_MAP = {
"
last_name
"
:
"
sn
"
,
"
email
"
:
"
mail
"
,
}
AUTH_LDAP_GROUP_TYPE
=
GroupOfNamesType
(
name_attr
=
"
cn
"
)
AUTH_LDAP_FIND_GROUP_PERMS
=
True
AUTH_LDAP_BIND_AS_AUTHENTICATING_USER
=
True
AUTH_LDAP_CACHE_GROUPS
=
True
AUTH_LDAP_GROUP_CACHE_TIMEOUT
=
3600
AUTH_LDAP_ALWAYS_UPDATE_USER
=
False
# email server
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment