mirror of
https://github.com/kakwa/ldapcherry
synced 2024-11-24 02:14:20 +01:00
adding a debug log to help figure out issues with filters.
This commit is contained in:
parent
d690bbdc41
commit
7ac7118c9a
@ -261,6 +261,16 @@ class Backend(ldapcherry.backend.Backend):
|
|||||||
else:
|
else:
|
||||||
attrlist = None
|
attrlist = None
|
||||||
|
|
||||||
|
self._logger(
|
||||||
|
severity=logging.DEBUG,
|
||||||
|
msg="%(backend)s: executing search "
|
||||||
|
"with filter '%(filter)s' in DN '%(dn)s'" % {
|
||||||
|
'backend': self.backend_name,
|
||||||
|
'dn': basedn,
|
||||||
|
'filter': searchfilter
|
||||||
|
}
|
||||||
|
)
|
||||||
|
|
||||||
# bind and search the ldap
|
# bind and search the ldap
|
||||||
ldap_client = self._bind()
|
ldap_client = self._bind()
|
||||||
try:
|
try:
|
||||||
|
Loading…
Reference in New Issue
Block a user