From: Volker Lendecke Date: Thu, 24 Oct 2024 10:10:42 +0000 (+0200) Subject: libads: Modernize DEBUGs X-Git-Tag: tdb-1.4.13~847 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=733d4609844a1c26efca88fbfcfb737e94129990;p=thirdparty%2Fsamba.git libads: Modernize DEBUGs Signed-off-by: Volker Lendecke Reviewed-by: Ralph Boehme --- diff --git a/source3/libads/cldap.c b/source3/libads/cldap.c index 57a2706b2e9..688fa759f94 100644 --- a/source3/libads/cldap.c +++ b/source3/libads/cldap.c @@ -401,12 +401,12 @@ bool ads_cldap_netlogon(TALLOC_CTX *mem_ctx, timeval_current_ofs(MAX(3,lp_ldap_timeout()/2), 0), &responses); if (!NT_STATUS_IS_OK(status)) { - DEBUG(2, ("ads_cldap_netlogon: cldap_multi_netlogon " - "failed: %s\n", nt_errstr(status))); + DBG_NOTICE("cldap_multi_netlogon failed: %s\n", + nt_errstr(status)); return false; } if (responses == NULL || responses[0] == NULL) { - DEBUG(2, ("ads_cldap_netlogon: did not get a reply\n")); + DBG_NOTICE("did not get a reply\n"); TALLOC_FREE(responses); return false; }