Is there any proper example for LOGIN7 on TDS protocol?

170 Views Asked by At

Where can I find a proper example for LOGIN7 message? I can see an example for PRELOGIN at http://klonkers.blogspot.com/2015/01/making-something-useful-out-of-ms-tds.html

I could not find a proper example for LOGIN7.

1

There are 1 best solutions below

1
AlwaysLearning On

The MS-TDS documentation includes a section on protocol examples.

In particular you're looking for the 4.2 Login Request example which includes information to help decode the following LOGIN7 packet:

 10 01 00 90 00 00 01 00 88 00 00 00 02 00 09 72 
 00 10 00 00 00 00 00 07 00 01 00 00 00 00 00 00 
 E0 03 00 00 00 00 00 00 09 04 00 00 5E 00 08 00 
 6E 00 02 00 72 00 00 00 72 00 07 00 80 00 00 00 
 80 00 00 00 80 00 04 00 88 00 00 00 88 00 00 00 
 00 50 8B E2 B7 8F 88 00 00 00 88 00 00 00 88 00 
 00 00 00 00 00 00 73 00 6B 00 6F 00 73 00 74 00 
 6F 00 76 00 31 00 73 00 61 00 4F 00 53 00 51 00 
 4C 00 2D 00 33 00 32 00 4F 00 44 00 42 00 43 00