s4/ldap_backend: do_call: use modern DBG macros
authorBjörn Jacke <bjacke@samba.org>
Mon, 25 Dec 2023 20:48:35 +0000 (21:48 +0100)
committerStefan Metzmacher <metze@samba.org>
Fri, 29 Dec 2023 13:50:05 +0000 (13:50 +0000)
Signed-off-by: Bjoern Jacke <bjacke@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Autobuild-User(master): Stefan Metzmacher <metze@samba.org>
Autobuild-Date(master): Fri Dec 29 13:50:05 UTC 2023 on atb-devel-224

source4/ldap_server/ldap_backend.c

index afb96204909612b93efdf815f1a39ff55aa85c3a..1a906534a0ae2675b923662a19b6be025e0cf83b 100644 (file)
@@ -1530,8 +1530,8 @@ NTSTATUS ldapsrv_do_call(struct ldapsrv_call *call)
        for (i=0; msg->controls && msg->controls[i]; i++) {
                if (!msg->controls_decoded[i] && 
                    msg->controls[i]->critical) {
-                       DEBUG(3, ("ldapsrv_do_call: Critical extension %s is not known to this server\n",
-                                 msg->controls[i]->oid));
+                       DBG_NOTICE("Critical extension %s is not known to this server\n",
+                                 msg->controls[i]->oid);
                        return ldapsrv_unwilling(call, LDAP_UNAVAILABLE_CRITICAL_EXTENSION);
                }
        }