[Samba] SAMBA 2.2.3a printing doesn't succeed on first try (bug 'printer handle not found') (fwd)

christoph.beyer at desy.de christoph.beyer at desy.de
Fri Mar 15 13:40:03 GMT 2002


hey,

I still have the problem described further down ! I had to downgrade to an
older version to keep printing running on my site, is there any chance to
investigate on this ? Please tell me if you need any further information /
debugging output. This should be really easy to reproduce...

kind regards
	~christoph


-- 
/*   Christoph Beyer     |   Office: Building 2b / 23     *\
 *   DESY                |    Phone: 040-8998-2317        *
 *   - IT -              |      Fax: 040-8998-4060        *
\*   22603 Hamburg       |     http://www.desy.de         */


---------- Forwarded message ----------
Date: Wed, 6 Mar 2002 12:07:44 +0100 (MET)
From: christoph.beyer at desy.de
To: Gerald Carter <jerry at samba.org>
Cc: samba at lists.samba.org, christoph.beyer at desy.de, gerhard.schroth at desy.de
Subject: SAMBA 2.2.3a printing doesn't succeed on first try (bug 'printer
    handle not found')

hey Gerald,

seems like this is a bug in 2.2.3a (?)

Print request from various MS WINDOWS platforms doesn't succeed on the
first try but on the second. Sometimes the applications give something
back like 'RPC server not reachable' the first time. As soon as there is
an already established connection betweeen the client and the server
everything works fine, I did some debugging (-d 2) but it seems to be
quite easy to reproduce if you need any further output, please tell me...

first try:
[2002/03/06 11:56:59, 2] smbd/reply.c:reply_special(92)
  netbios connect: name1=ZITSAMBATEST     name2=ZITPCX2622
[2002/03/06 11:56:59, 2] smbd/reply.c:reply_special(111)
  netbios connect: local=zitsambatest remote=zitpcx2622
[2002/03/06 11:56:59, 2] smbd/reply.c:reply_sesssetup_and_X(972)
  Defaulting to Lanman password for nobody
[2002/03/06 11:56:59, 2]
rpc_server/srv_spoolss_nt.c:find_printer_index_by_hnd(245)
  find_printer_index_by_hnd: Printer handle not found:
find_printer_index_by_hnd: Printer handle not found: close_printer_handle:
Invalid handle (OTHER:27652:27694)

second try:
[2002/03/06 11:58:17, 2] smbd/process.c:timeout_processing(1140)
  Closing idle connection 2.
[2002/03/06 11:58:17, 2] smbd/server.c:exit_server(458)
  Closing connections
[2002/03/06 11:58:28, 2] smbd/reply.c:reply_special(92)
  netbios connect: name1=ZITSAMBATEST     name2=ZITPCX2622
[2002/03/06 11:58:28, 2] smbd/reply.c:reply_special(111)
  netbios connect: local=zitsambatest remote=zitpcx2622
[2002/03/06 11:58:28, 2] smbd/reply.c:reply_sesssetup_and_X(972)
  Defaulting to Lanman password for nobody
[2002/03/06 11:58:32, 2] lib/util_sock.c:open_socket_out(859)
  error connecting to 131.169.214.223:445 (Connection refused)

Thanks for any hints

	~christoph



-- 
/*   Christoph Beyer     |   Office: Building 2b / 23     *\
 *   DESY                |    Phone: 040-8998-2317        *
 *   - IT -              |      Fax: 040-8998-4060        *
\*   22603 Hamburg       |     http://www.desy.de         */







More information about the samba mailing list