read_socket_data Sol2.5.1/samba-2.0.6
Vaughn Adams
vaughn at cbis.ece.drexel.edu
Thu Dec 16 17:22:26 GMT 1999
I ran into an problem with samba-2.0.6 with Solaris 2.5.1 in util_sock. I
am NOT compiling with SSL.
[1999/12/16 10:23:22, 0] lib/util_sock.c:read_socket_data(474)
read_socket_data: recv failure for 4. Error = Invalid argument
Platforms:
SunOS xxxx 5.5.1 Generic_103640-29 sun4u sparc SUNW,Ultra-Enterprise
SunOS xx 5.5.1 Generic_103640-31 sun4u sparc SUNW,Ultra-Enterprise
Compilers:
gcc version 2.95.2 19991024
gcc version 2.8.1
read_smb_length_return_keepalive() calls read_socket_data().
read_socket_data() quits. I added some more error logging to check the
values. Type casting on the recv() call (line 463) didn't help.
read_socket_data: recv failure for 4. Error = Invalid argument FD:5 Buffer:[]
Total:0 N:4
Has anybody else run into this problem or is my system screwed? The only
thing that I can think of is that it somehow has an invalid file descripter.
Any good places to check?
If I compile on Solaris (2.)7 with egcs-2.91.66 (using the same config file),
it works. Samba-2.0.3 works on both of the enterprise machines in question,
but then again, there is no read_socket_data call in samba-2.0.3.
--
Vaughn Adams
Drexel University
Electrical and Computer Engineering Voice: 215-895-1979
32nd and Chestnut Streets FAX: 215-895-1695
Philadelphia, Pa 19104 Email: vaughn at coe.drexel.edu
PGP key available - finger -l vaughn at cbis.ece.drexel.edu
More information about the samba-technical
mailing list