The branch, v3-4-test has been updated
       via  ffb6b4e6f7e47e8f22519d616e4e31444e417d16 (commit)
      from  2666b3e27444ffcad3afc21e276f189ac238433f (commit)

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-4-test


- Log -----------------------------------------------------------------
commit ffb6b4e6f7e47e8f22519d616e4e31444e417d16
Author: Günther Deschner <g...@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
    (cherry picked from commit 74454cc731f202361f1dce47fa850810bfeb36c8)

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

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 855aa30..8170680 100644
--- a/source3/rpc_server/srv_spoolss_nt.c
+++ b/source3/rpc_server/srv_spoolss_nt.c
@@ -9598,8 +9598,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

Reply via email to