The Samba-Bugzilla – Attachment 4508 Details for
Bug 6568
Can't upload printer drivers: Couldn't find service prnproc$
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch to avoid reporting of a prnproc$ share.
prnproc.patch (text/plain), 1.23 KB, created by
Guenther Deschner
on 2009-08-04 05:28:52 UTC
(
hide
)
Description:
patch to avoid reporting of a prnproc$ share.
Filename:
MIME Type:
Creator:
Guenther Deschner
Created:
2009-08-04 05:28:52 UTC
Size:
1.23 KB
patch
obsolete
>From 30849588defb5af78a7f2a32a444203e9ec63d7e Mon Sep 17 00:00:00 2001 >From: =?utf-8?q?G=C3=BCnther=20Deschner?= <gd@samba.org> >Date: Tue, 4 Aug 2009 12:21:49 +0200 >Subject: [PATCH] s3-spoolss: Fix Bug #6568: _spoolss_GetPrintProcessorDirectory() implementation. > >We should always return a local path so that users are not forced to setup a >[prnproc$] share on the server. This restores pre-3.4.0 spoolss behaviour. > >Guenther >--- > source3/rpc_server/srv_spoolss_nt.c | 6 +++++- > 1 files changed, 5 insertions(+), 1 deletions(-) > >diff --git a/source3/rpc_server/srv_spoolss_nt.c b/source3/rpc_server/srv_spoolss_nt.c >index ee07474..e535f26 100644 >--- a/source3/rpc_server/srv_spoolss_nt.c >+++ b/source3/rpc_server/srv_spoolss_nt.c >@@ -9685,8 +9685,12 @@ WERROR _spoolss_GetPrintProcessorDirectory(pipes_struct *p, > > /* r->in.level is ignored */ > >+ /* We always should reply with a local print processor directory so that >+ * users are not forced to have a [prnproc$] share on the Samba spoolss >+ * server - Guenther */ >+ > result = getprintprocessordirectory_level_1(p->mem_ctx, >- r->in.server, >+ NULL, /* r->in.server */ > r->in.environment, > &r->out.info->info1); > if (!W_ERROR_IS_OK(result)) { >-- >1.6.2.5 >
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 6568
:
4448
|
4449
|
4450
| 4508 |
4517