[Samba] Re: PATCH: Saving Document Defaults

Gerald Carter jerry at samba.org
Wed Feb 13 08:03:07 GMT 2002


On Wed, 13 Feb 2002, Tim Allen wrote:

> Jerry
> 
> I simply go to the Settings/Printers window and the Samba printers are stuck
> at Unable to connect or Opening.
> 
> Symptoms appear unchanged: here's the log level 10 output:

OK.  I see it now.  here's a quick patch to try.    The netbios
session request will still fail, but at least smbd won't crash.
I've found a collection of other potential smbd crashes related
to this same root cause.  I'll check the real fix into cvs.

> libsmb/cliconnect.c:attempt_netbios_session_request(976)
>   attempt_netbios_session_request: DELL rejected the session for name
>   *SMBSERVER with error Not listening on called name

Have you disabled netbios on the win2k client?  

> [2002/02/13 14:33:47, 0]
> rpc_client/cli_spoolss_notify.c:spoolss_connect_to_client(73)
> [2002/02/13 14:33:47, 0] lib/fault.c:fault_report(38)
>   ===============================================================
> [2002/02/13 14:33:47, 0] lib/fault.c:fault_report(39)
>   INTERNAL ERROR: Signal 11 in pid 19915 (2.2.3a)
>   Please read the file BUGS.txt in the distribution
> [2002/02/13 14:33:47, 0] lib/fault.c:fault_report(41)
>   ===============================================================
> [2002/02/13 14:33:47, 0] lib/util.c:smb_panic(1064)
>   PANIC: internal error












cheers, jerry
 ---------------------------------------------------------------------
 Hewlett-Packard                                     http://www.hp.com
 SAMBA Team                                       http://www.samba.org
 --                                            http://www.plainjoe.org
 "Sam's Teach Yourself Samba in 24 Hours" 2ed.      ISBN 0-672-32269-2
 --"I never saved anything for the swim back." Ethan Hawk in Gattaca--
-------------- next part --------------
--- cli_spoolss_notify.c	Sat Feb  2 18:46:49 2002
+++ cli_spoolss_notify.c.new	Wed Feb 13 09:42:25 2002
@@ -70,8 +70,7 @@
 	}
   
 	if (!attempt_netbios_session_request(cli, global_myname, remote_machine, &cli->dest_ip)) {
-		DEBUG(0,("connect_to_client: machine %s rejected the NetBIOS session request. Error was %s\n", remote_machine, cli_errstr(cli) ));
-		cli_shutdown(cli);
+		DEBUG(0,("connect_to_client: machine %s rejected the NetBIOS session request.\n", remote_machine));
 		return False;
 	}
 


More information about the samba mailing list