Fix bug #10118 - Samba is chatty about being unable to open a printer.
authorKorobkin <korobkin+samba@gmail.com>
Tue, 29 Oct 2013 10:25:12 +0000 (11:25 +0100)
committerKarolin Seeger <kseeger@samba.org>
Tue, 29 Oct 2013 10:25:12 +0000 (11:25 +0100)
source3/rpc_server/spoolss/srv_spoolss_nt.c

index 0f74a44a03e6d7f76292f5ccb5244c853be61a9f..2f1f7c432cc998b2a61add5078f6dcc9d9afd74f 100644 (file)
@@ -1744,7 +1744,7 @@ WERROR _spoolss_OpenPrinterEx(struct pipes_struct *p,
 
        result = open_printer_hnd(p, r->out.handle, r->in.printername, 0);
        if (!W_ERROR_IS_OK(result)) {
-               DEBUG(0,("_spoolss_OpenPrinterEx: Cannot open a printer handle "
+               DEBUG(3,("_spoolss_OpenPrinterEx: Cannot open a printer handle "
                        "for printer %s\n", r->in.printername));
                ZERO_STRUCTP(r->out.handle);
                return result;