diff --git a/source/libads/ldap_utils.c b/source/libads/ldap_utils.c index 4392cde00bf..9559ae117a6 100644 --- a/source/libads/ldap_utils.c +++ b/source/libads/ldap_utils.c @@ -85,8 +85,8 @@ static ADS_STATUS ads_do_search_retry_internal(ADS_STRUCT *ads, const char *bind *res = NULL; status = ads_do_search_all_args(ads, bp, scope, expr, attrs, args, res); if (ADS_ERR_OK(status)) { - DEBUG(5,("Search for %s gave %d replies\n", - expr, ads_count_replies(ads, *res))); + DEBUG(5,("Search for filter: %s, base: %s gave %d replies\n", + expr, bp, ads_count_replies(ads, *res))); SAFE_FREE(bp); return status; }