smbd crash

Andrej Borsenkow borsenkow.msk at sni.de
Mon Nov 30 15:25:04 GMT 1998


>
> ah, you know what?  it might be timing out and attempting to carry on, and
> keeling over...
>
> can you check cli->outbuf to see if it is NULL or not?  and the size of
> smb_size?
>

It is even more simple ... We assumed (by default) that connection to server
list always succeeds :))

BTW currently the list of DC is statically configured. I would expect it to
be resolved at run time - and server list to be used as "last resort" if at
all.

/andrej


--- libsmb/clientgen.c	Thu Nov 26 16:39:00 1998
+++ libsmb/clientgen.c	Mon Nov 30 18:19:29 1998
@@ -2725,7 +2725,7 @@
 	fstring remote_machine;
 	struct in_addr dest_ip;
 	struct nmb_name calling, called;
-	BOOL connected_ok = True;
+	BOOL connected_ok = False;

 	ZERO_STRUCTP(cli);




More information about the samba-technical mailing list