Solaris 2.4 and 2.0.6: socket ?

Jeremy Allison jeremy at valinux.com
Tue Dec 7 23:24:11 GMT 1999


Christian Barth wrote:
> 
> Hello!
> 
> We just upgraded our samba-1.9.18p10-Server on solaris 2.4 to samba 2.0.6:
> configure and compiling worked o.k., we didn't see any error messages.
> we did not touch smb.conf
> 
> The NT-clients can not conect to the server: "Server is not avaiable",
> in the logs we get the message:
>  Copyright Andrew Tridgell 1992-1998
> [1999/12/07 22:32:29, 1] smbd/files.c:file_init(216)
>   file_init: Information only: requested 10000 open files, 1014 are available.
> [1999/12/07 22:32:29, 0] lib/util_sock.c:read_socket_data(474)
>   read_socket_data: recv failure for 4. Error = Invalid argument

Amazingly, it seems Solaris 2.4 - 2.5.1 shipped with a completely
broken recv() call.

Solaris 2.6 and above are ok. You need to change the recv
calls in lib/util_sock.c to use read() for these versions
of Solaris......

We have done this in the master CVS sources and will be using
read() in the next release (sigh....).

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 mailing list