Skip to Content.
Sympa Menu

freetds - RE: Packet 0xED invalid, why ?

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: ZIGLIO Frediano <Frediano.Ziglio AT omnitelvodafone.it>
  • To: "'TDS Development Group'" <freetds AT franklin.metalab.unc.edu>
  • Subject: RE: Packet 0xED invalid, why ?
  • Date: Thu, 30 May 2002 17:15:48 +0200


>
> Hello all,
>
> I'm try codifing the login by NT Authentication, but I'm with
> problems... :)
> When I send my login packet (0x10) I receive a response
> packet (0xED)
> with out data. ?? Why ?
>
> >>
> 100100B500000100AD00000001000071001000000000000714030000000000
> 00E0830000B400000016040000560009000000000000000000680007007600
> 06000000000082000A0096000000960000008B1D790DFCB07D003000AD0000
> 0053006100740065006C006C006900740065004100700070004E0061006D00
> 6500760074007300310030003000440042002D004C00690062007200610072
> 0079004E544C4D535350000100000007B200A0070007002900000009000900
> 20000000536174656C6C697465444F4DCD4E494F
>

0000000 10 01 00 b5 00 00 01 00 ad 00 00 00 01 00 00 71; ...µ....­......q
1) 2) 3)
1) size is 0xb5 but should be 0xce
2) packet size is 0xad but should be 0xc6
3) why 1?
0000010 00 10 00 00 00 00 00 07 14 03 00 00 00 00 00 00; ................
1)
1) why 0x10 ?
0000020 e0 83 00 00 b4 00 00 00 16 04 00 00 56 00 09 00; à...´.......V...
0000030 00 00 00 00 00 00 00 00 68 00 07 00 76 00 06 00; ........h...v...
0000040 00 00 00 00 82 00 0a 00 96 00 00 00 96 00 00 00; ................
0000050 8b 1d 79 0d fc b0 7d 00 30 00 ad 00 00 00 53 00; ..y.ü°}.0.­...S.
1) 2)
1) this is ntlmssp packet size, should be 0x96
2) as above, should be 0xc6
0000060 61 00 74 00 65 00 6c 00 6c 00 69 00 74 00 65 00; a.t.e.l.l.i.t.e.
0000070 41 00 70 00 70 00 4e 00 61 00 6d 00 65 00 76 00; A.p.p.N.a.m.e.v.
0000080 74 00 73 00 31 00 30 00 30 00 44 00 42 00 2d 00; t.s.1.0.0.D.B.-.
0000090 4c 00 69 00 62 00 72 00 61 00 72 00 79 00 4e 54; L.i.b.r.a.r.y.NT
00000a0 4c 4d 53 53 50 00 01 00 00 00 07 b2 00 a0 07 00; LMSSP......². ..
I'm studing samba code for this flags...
00000b0 07 00 29 00 00 00 09 00 09 00 20 00 00 00 53 61; ..)....... ...Sa
00000c0 74 65 6c 6c 69 74 65 44 4f 4d cd 4e 49 4f ; telliteDOMÍNIO
Strange domain name...

Oh... you are writing code for ntlmssp too. good!
Can you post your partial developement to mailing list?

> <<
> 0401000B00000000ED0000
>
> Anybody are working in this? Anybody know the why ?
>
> Regards!!
>
freddy77




Archive powered by MHonArc 2.6.24.

Top of Page