[Samba] Printing Buffer Overflow

Alejandro Soler
Thu, 20 Nov 2003 13:17:19 -0000

Hi,

I have a print server, with RH9 and the last Samba 3 version (i have to
update because i have this problems many times with previus samba
versions)

When i try to print from WinNt 4, from Oracle Reports 3, drWatson come
in. In the print server i have this log:

[2003/11/19 10:10:30, 3] rpc_server/srv_pipe.c:api_rpcTNP(1503)
  api_rpcTNP: rpc command: SPOOLSS_OPENPRINTEREX
  checking name: \\mtba9\finanzas2
[2003/11/19 10:10:30, 3]
rpc_server/srv_spoolss_nt.c:set_printer_hnd_printertype(447)
  Setting printer type=\\mtba9\finanzas2
[2003/11/19 10:10:30, 3]
rpc_server/srv_pipe_hnd.c:free_pipe_context(544)
  free_pipe_context: destroying talloc pool of size 68
[2003/11/19 10:10:30, 3] smbd/process.c:process_smb(890)
  Transaction 771 of length 1312
[2003/11/19 10:10:30, 3] smbd/process.c:switch_message(685)
  switch message SMBtrans (pid 1292)
[2003/11/19 10:10:30, 3] smbd/ipc.c:reply_trans(530)
  trans <\PIPE\> data=1224 params=0 setup=2
[2003/11/19 10:10:30, 3] smbd/ipc.c:named_pipe(334)
  named pipe command on <> name
[2003/11/19 10:10:30, 3] smbd/ipc.c:api_fd_reply(296)
  Got API command 0x26 on pipe "spoolss" (pnum 70e3)free_pipe_context:
destroying talloc pool of size 0
[2003/11/19 10:10:30, 3] rpc_server/srv_pipe.c:api_rpcTNP(1503)
  api_rpcTNP: rpc command: SPOOLSS_GETPRINTER
[2003/11/19 10:10:30, 3]
rpc_server/srv_pipe_hnd.c:free_pipe_context(544)
  free_pipe_context: destroying talloc pool of size 1076
[2003/11/19 10:10:30, 3] smbd/error.c:error_packet(118)
  error packet at smbd/ipc.c(99) cmd=37 (SMBtrans)
STATUS_BUFFER_OVERFLOW


The user have administrator rights over printer.

Please help me...

Thanks.


--
                            Alejandro Soler
                       Administrador de Sistemas
                         Martina di Trento S.A.
                        Buenos Aires - Argentina
                       asoler@martinaditrento.com
                        www.martinaditrento.com
                            TEL.: 4000-7200