Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
synapse
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Monitor
Service Desk
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
Maunium
synapse
Commits
291628d4
Commit
291628d4
authored
8 years ago
by
Erik Johnston
Browse files
Options
Downloads
Plain Diff
Merge branch 'erikj/ldap3_auth'
parents
4a9055d4
3c09818d
Branches
Branches containing commit
Tags
v0.18.3
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
CHANGES.rst
+13
-0
13 additions, 0 deletions
CHANGES.rst
synapse/__init__.py
+1
-1
1 addition, 1 deletion
synapse/__init__.py
synapse/util/ldap_auth_provider.py
+2
-1
2 additions, 1 deletion
synapse/util/ldap_auth_provider.py
with
16 additions
and
2 deletions
CHANGES.rst
+
13
−
0
View file @
291628d4
Changes in synapse v0.18.3 (2016-11-08)
=======================================
SECURITY UPDATE
Explicitly require authentication when using LDAP3. This is the default on
versions of ``ldap3`` above 1.0, but some distributions will package an older
version.
If you are using LDAP3 login and have a version of ``ldap3`` older than 1.0 it
is **CRITICAL to updgrade**.
Changes in synapse v0.18.2 (2016-11-01)
Changes in synapse v0.18.2 (2016-11-01)
=======================================
=======================================
...
...
This diff is collapsed.
Click to expand it.
synapse/__init__.py
+
1
−
1
View file @
291628d4
...
@@ -16,4 +16,4 @@
...
@@ -16,4 +16,4 @@
"""
This is a reference implementation of a Matrix home server.
"""
This is a reference implementation of a Matrix home server.
"""
"""
__version__
=
"
0.18.
2
"
__version__
=
"
0.18.
3
"
This diff is collapsed.
Click to expand it.
synapse/util/ldap_auth_provider.py
+
2
−
1
View file @
291628d4
...
@@ -236,7 +236,8 @@ class LdapAuthProvider(object):
...
@@ -236,7 +236,8 @@ class LdapAuthProvider(object):
value
=
localpart
,
value
=
localpart
,
base
=
self
.
ldap_base
base
=
self
.
ldap_base
)
)
conn
=
ldap3
.
Connection
(
server
,
bind_dn
,
password
)
conn
=
ldap3
.
Connection
(
server
,
bind_dn
,
password
,
authentication
=
ldap3
.
AUTH_SIMPLE
)
logger
.
debug
(
logger
.
debug
(
"
Established LDAP connection in simple bind mode: %s
"
,
"
Established LDAP connection in simple bind mode: %s
"
,
conn
conn
...
...
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