Undefined symbol

Jeremy Allison jeremy at valinux.com
Fri Jan 7 20:50:49 GMT 2000


Alfredo Ramos wrote:
> 
>   read_socket_data: recv failure for 4. Error = Invalid argument
> [2000/01/06 09:00:58, 3] smbd/process.c:timeout_processing(861)
>   receive_smb error (Invalid argument) exiting
> [2000/01/06 09:00:58, 2] smbd/server.c:exit_server(408)
>   Closing connections
> [2000/01/06 09:00:58, 3] smbd/server.c:exit_server(435)
>   Server exit (normal exit)
> 
> This happens with 2.0.5a and 2.0.6, but only on a Solaris 2.5 box
> (production). I can run both releases on a test box running Solaris 2.6
> without any problems whatsoever.
> 
> The only difference I see between the newer releases of samba and 2.0.4b
> (the one running in production) is the read_socket_data function in the
> util_sock.c module, the one causing the problems. And ofcourse the
> difference in OS's.

Amazingly, recv() is broken on Solaris 2.5. Change the
recv() calls to read() calls in read_socket_data().

This fix will be in 2.0.7.

Regards,

	Jeremy Allison,
	Samba Team.

-- 
--------------------------------------------------------
Buying an operating system without source is like buying
a self-assembly Space Shuttle with no instructions.
--------------------------------------------------------


More information about the samba-ntdom mailing list