]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
libads: Modernize DEBUGs
authorVolker Lendecke <vl@samba.org>
Thu, 24 Oct 2024 10:10:42 +0000 (12:10 +0200)
committerRalph Boehme <slow@samba.org>
Fri, 25 Oct 2024 07:55:34 +0000 (07:55 +0000)
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
source3/libads/cldap.c

index 57a2706b2e9a3bd617b80b03badf08cd7edcd537..688fa759f94cefe323a1ed92805ca44d6e28bcfc 100644 (file)
@@ -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;
        }