christoph.beyer@desy.de
2002-Mar-06 03:18 UTC
[Samba] 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 */