HACKS...
authorStefan Metzmacher <metze@samba.org>
Tue, 7 Jun 2011 19:41:24 +0000 (21:41 +0200)
committerStefan Metzmacher <metze@samba.org>
Thu, 7 Jul 2011 12:49:53 +0000 (14:49 +0200)
source3/libsmb/async_smb.c
source3/rpcclient/cmd_spoolss.c

index ee15caee7a555c4da5525a021d78d2d0a999fe95..a391e9896aea7fea40d344835228599388dcff00 100644 (file)
@@ -526,9 +526,6 @@ static void cli_smb_sent(struct tevent_req *subreq)
        }
 
        switch (CVAL(state->header, smb_com)) {
-       case SMBtranss:
-       case SMBtranss2:
-       case SMBnttranss:
        case SMBntcancel:
                state->inbuf = NULL;
                tevent_req_done(req);
index 0e12201f927aedf67a06f0f7f8940576abf358c1..80c4b22c7e48d8801210a0f02ffb6ad02ad2875e 100644 (file)
@@ -370,7 +370,7 @@ static WERROR cmd_spoolss_enum_printers(struct rpc_pipe_client *cli,
                                             flags,
                                             name,
                                             level,
-                                            0,
+                                            4192,
                                             &count,
                                             &info);
        if (W_ERROR_IS_OK(result)) {