[SCM] Samba Shared Repository - branch master updated - release-4-0-0alpha8-791-g74454cc

Günther Deschner gd at samba.org
Tue Aug 4 10:51:25 MDT 2009


The branch, master has been updated
       via  74454cc731f202361f1dce47fa850810bfeb36c8 (commit)
      from  0e87f07fc0190e5d5a167e356db521b9123ae049 (commit)

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master


- Log -----------------------------------------------------------------
commit 74454cc731f202361f1dce47fa850810bfeb36c8
Author: Günther Deschner <gd at samba.org>
Date:   Tue Aug 4 12:21:49 2009 +0200

    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

-----------------------------------------------------------------------

Summary of changes:
 source3/rpc_server/srv_spoolss_nt.c |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)


Changeset truncated at 500 lines:

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)) {


-- 
Samba Shared Repository


More information about the samba-cvs mailing list