Skip to Content.
Sympa Menu

freetds - RE: Output parameters (was: Strange things)

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: Bob Kline <bkline AT rksystems.com>
  • To: TDS Development Group <freetds AT franklin.metalab.unc.edu>
  • Subject: RE: Output parameters (was: Strange things)
  • Date: Sat, 16 Nov 2002 16:33:29 -0500 (EST)


On Sat, 16 Nov 2002, James K. Lowden wrote:

> Hello everyone,
>
> I worked on this problem on Friday, but it looks like I need help.
>
> I compiled src/dblib/unittests/t0022.c under VC++, linked it with
> Microsoft's db-lib, and captured the conversation with tcpdump. No
> matter what I did with the client configuration, though, I wound up
> with an SMB session (not TCP), and the conversation appears to be in
> ASCII, making it look a heck of a lot like TDS 4.2 (but it's also
> possible that TDS 7.0 over an SMB connection uses ASCII; I didn't
> check the login packet). I was using SQL Server 7.0 client
> libraries and a SQL Server 2000 server.
>
> I'd like to ask if anyone else would try the same thing, either to
> reproduce my results, or to get a real TCP, TDS 7.0 tcpdump log.
> The issue: at some point, it seems Microsoft broke the ability to
> retrieve output parameters via TDS 7.0. We'd like to capture a TDS
> 7.0 conversation, to see what's going on.

I have created a tdsdump log from the t0022 test, created much the way
you did it, with two differences:

1. I compiled against Microsoft's headers (not trusting binary
compatibility for struct layouts, etc.).
2. The dump I got appears to have port 1433 traffic on it, not
SMB packets.

Interested? If so, I'll mask out passwords, etc, and email it to you.

--
Bob Kline
mailto:bkline AT rksystems.com
http://www.rksystems.com





Archive powered by MHonArc 2.6.24.

Top of Page