Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Kontr 2.0
Portal API Backend
Commits
254078f4
Unverified
Commit
254078f4
authored
Sep 18, 2018
by
Peter Stanko
Browse files
Better Logging for LDAP search and ldap integration - fixed bracket
parent
9e696e87
Pipeline
#13213
failed with stage
in 60 minutes and 7 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
portal/tools/ldap_client.py
View file @
254078f4
...
...
@@ -62,7 +62,7 @@ class LDAPWrapper(object):
connection
=
None
if
self
.
ldap
is
not
None
:
connection
=
ldap3
.
Connection
(
self
.
ldap
,
auto_bind
=
True
)
log
.
debug
(
f
"[LDAP] Creating LDAP connection instance:
{
connection
}
}
"
)
log
.
debug
(
f
"[LDAP] Creating LDAP connection instance:
{
connection
}
"
)
return
connection
def
search
(
self
,
selector
:
str
):
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment