Revert "HACKS..."
authorStefan Metzmacher <metze@samba.org>
Wed, 8 Jun 2011 13:46:37 +0000 (15:46 +0200)
committerStefan Metzmacher <metze@samba.org>
Thu, 7 Jul 2011 12:49:53 +0000 (14:49 +0200)
This reverts commit 4508b35a5cac35ca42189ed6930095affb181882.

source3/libsmb/async_smb.c
source3/rpcclient/cmd_spoolss.c

index a391e9896aea7fea40d344835228599388dcff00..ee15caee7a555c4da5525a021d78d2d0a999fe95 100644 (file)
@@ -526,6 +526,9 @@ 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 80c4b22c7e48d8801210a0f02ffb6ad02ad2875e..0e12201f927aedf67a06f0f7f8940576abf358c1 100644 (file)
@@ -370,7 +370,7 @@ static WERROR cmd_spoolss_enum_printers(struct rpc_pipe_client *cli,
                                             flags,
                                             name,
                                             level,
-                                            4192,
+                                            0,
                                             &count,
                                             &info);
        if (W_ERROR_IS_OK(result)) {