[Samba] 3.0.10 with printing patch, NULL devmode, failing to fetch tdb and buffer overflow

Thomas Bork TomBork at web.de
Wed Jan 5 14:32:53 GMT 2005

Hi Jerry, hi @all,

some users with 3.0.10 with printing patch have problems with old printjobs in her status monitor in windows. Loglevel 10 shows two problems:

1. The devmode for this printer was not set properly (I know, thiswill cause problems).
[2005/01/05 14:02:09, 8] rpc_parse/parse_spoolss.c:smb_io_reldevmode(2407)
  boing, the devmode was NULL

2. A buffer overflow is logged.
[2005/01/05 14:02:09, 5] smbd/ipc.c:send_trans_reply(91)
  send_trans_reply: buffer 1024 too large
[2005/01/05 14:02:09, 3] smbd/error.c:error_packet(129)
  error packet at smbd/ipc.c(99) cmd=37 (SMBtrans) STATUS_BUFFER_OVERFLOW
[2005/01/05 14:02:09, 5] smbd/ipc.c:copy_trans_params_and_data(62)
  copy_trans_params_and_data: params[0..0] data[0..1024]

Is this a risk?
Is it possible to avoid this even if the devmode is not set?
Is this the reason for the failed fetching of the tdb?:
[2005/01/05 12:53:03, 0] smbd/connection.c:register_message_flags(220)
   register_message_flags: tdb_fetch failed

der tom
Mit WEB.DE FreePhone mit hoechster Qualitaet ab 0 Ct./Min.
weltweit telefonieren! http://freephone.web.de/?mc=021201

More information about the samba mailing list