diff options
Diffstat (limited to 'src/providers/ldap')
-rw-r--r-- | src/providers/ldap/ldap_child.c | 2 | ||||
-rw-r--r-- | src/providers/ldap/sdap_async.c | 2 | ||||
-rw-r--r-- | src/providers/ldap/sdap_fd_events.c | 2 |
3 files changed, 4 insertions, 2 deletions
diff --git a/src/providers/ldap/ldap_child.c b/src/providers/ldap/ldap_child.c index fb8dd806..8a1dc490 100644 --- a/src/providers/ldap/ldap_child.c +++ b/src/providers/ldap/ldap_child.c @@ -378,6 +378,8 @@ int main(int argc, const char *argv[]) poptFreeContext(pc); + debug_level = debug_convert_old_level(debug_level); + DEBUG(7, ("ldap_child started.\n")); main_ctx = talloc_new(NULL); diff --git a/src/providers/ldap/sdap_async.c b/src/providers/ldap/sdap_async.c index 5594dd55..6f73310e 100644 --- a/src/providers/ldap/sdap_async.c +++ b/src/providers/ldap/sdap_async.c @@ -981,7 +981,7 @@ static errno_t sdap_get_generic_ext_step(struct tevent_req *req) DEBUG(6, ("calling ldap_search_ext with [%s][%s].\n", state->filter, state->search_base)); - if (debug_level >= 7) { + if (DEBUG_IS_SET(SSSDBG_TRACE_LIBS)) { int i; if (state->attrs) { diff --git a/src/providers/ldap/sdap_fd_events.c b/src/providers/ldap/sdap_fd_events.c index 4fb67b82..3750da77 100644 --- a/src/providers/ldap/sdap_fd_events.c +++ b/src/providers/ldap/sdap_fd_events.c @@ -104,7 +104,7 @@ static int sdap_ldap_connect_callback_add(LDAP *ld, Sockbuf *sb, return EINVAL; } - if (debug_level >= 7) { + if (DEBUG_IS_SET(SSSDBG_TRACE_LIBS)) { char *uri = ldap_url_desc2str(srv); DEBUG(7, ("New LDAP connection to [%s] with fd [%d].\n", uri, ber_fd)); |