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 If we try to connect from a linux PC running 2.0.6 using smbclient we get: barth@fbk /u1/barth> smbclient \\\\fbksparc2\\space2 added interface ip=131.246.201.62 bcast=131.246.201.255 nmask=255.255.255.0 read_socket_with_timeout: timeout read. read error = Die Verbindung wurde vom Kommunikationspartner zurückgesetzt. session request to FBKSPARC2 failed (code 0) read_socket_with_timeout: timeout read. read error = Die Verbindung wurde vom Kommunikationspartner zurückgesetzt. session request to *SMBSERVER failed (code 0) " Die Verbindung wurde vom Kommunikationspartner zurückgesetzt." means some thing like "the other one stopped the connection" The samba on solaris is running through inetd. security is set to server, server is a samba 2.0.6 PCD Any ideas? Thanks. Christian P.S.: Please replay to me directly as I am not on the list. P.P.S.: 2.0.6 solved the problems our 2.0.0beta2 PCD had with NT4-Terminal server.
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 argumentAmazingly, 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. --------------------------------------------------------