The Samba-Bugzilla – Attachment 3339 Details for
Bug 5525
samba locks up if cups server is unresponsive
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch to avoid talking to CUPS when not configured to load printers
no-unnecessary-cups.patch (text/plain), 646 bytes, created by
Steve Langasek
on 2008-06-08 01:50:39 UTC
(
hide
)
Description:
patch to avoid talking to CUPS when not configured to load printers
Filename:
MIME Type:
Creator:
Steve Langasek
Created:
2008-06-08 01:50:39 UTC
Size:
646 bytes
patch
obsolete
>Goal: Don't try to contact the CUPS server when we can reliably >determine that no printers are needed > >Fixes: bug #479512 > >Upstream status: submitted as bugzilla bug #5525 > >Index: samba-3.0.30/source/smbd/server.c >=================================================================== >--- samba-3.0.30/source/smbd/server.c (revision 1918) >+++ samba-3.0.30/source/smbd/server.c (working copy) >@@ -624,6 +624,10 @@ > int pnum = lp_servicenumber(PRINTERS_NAME); > const char *pname; > >+ if (!lp_load_printers() >+ && (lp_auto_services() == NULL || !strcmp(lp_auto_services(),""))) >+ return; >+ > pcap_cache_reload(); > > /* remove stale printers */
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 5525
: 3339