diff options
author | Volker Lendecke <vl@samba.org> | 2008-12-31 18:37:39 +0100 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2008-12-31 18:43:11 +0100 |
commit | 641772b605520ed3914ee36d5a953c247c1082c7 (patch) | |
tree | 95f38b4d6969106f67decc6288742f10c58cdf67 /source3 | |
parent | 429276556a4930fa1bc782904447120950073190 (diff) | |
download | samba-641772b605520ed3914ee36d5a953c247c1082c7.tar.gz samba-641772b605520ed3914ee36d5a953c247c1082c7.tar.bz2 samba-641772b605520ed3914ee36d5a953c247c1082c7.zip |
recvfile can't be used for printing so far
Diffstat (limited to 'source3')
-rw-r--r-- | source3/smbd/reply.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source3/smbd/reply.c b/source3/smbd/reply.c index e2a7afe897..8f9edfe0ca 100644 --- a/source3/smbd/reply.c +++ b/source3/smbd/reply.c @@ -3873,6 +3873,10 @@ bool is_valid_writeX_buffer(const uint8_t *inbuf) DEBUG(10,("is_valid_writeX_buffer: IPC$ tid\n")); return false; } + if (IS_PRINT(conn)) { + DEBUG(10,("is_valid_writeX_buffer: printing tid\n")); + return false; + } doff = SVAL(inbuf,smb_vwv11); numtowrite = SVAL(inbuf,smb_vwv10); |