On Jul 4, 2008, at 2:18 AM, Daniel Stutz wrote:
Here we go:
30 81 83 02 01 03 79 7E 0A 01 00 04 00 04 00 80 0.....y~........
1D 32 2E 31 36 2E 38 34 30 2E 31 2E 31 31 33 37 .2.16.840.1.1137
31 39 2E 31 2E 32 37 2E 31 30 30 2E 38 31 81 56 19.1.27.100.81.V
30 84 00 00 00 50 02 01 64 02 01 00 63 84 00 00 0....P..d...c...
00 44 81 04 48 6D E0 AA 82 02 03 69 83 01 3C 84 .D..Hm.....i..<.
04 B3 B4 B4 40 85 00 86 84 00 00 00 06 02 01 FF [EMAIL PROTECTED]
02 01 FF A7 84 00 00 00 1D 04 06 6F 3D 4D 79 51 ...........o=MyQ
41 04 13 63 6E 3D 53 54 45 49 4E 42 41 43 48 2C A..cn=STEINBACH,
6F 3D 4D 79 51 41 __ __ __ __ __ __ __ __ __ __ o=MyQA
What server are you using ?
That packet decodes as
0000 131: SEQUENCE {
0003 1: INTEGER = 3
0006 126: [APPLICATION 25] {
0008 1: ENUM = 0
000B 0: STRING = ''
000D 0: STRING = ''
000F 29: [CONTEXT 0]
0011 : 32 2E 31 36 2E 38 34 30 2E 31 2E 31 31 33 37 31
2.16.840.1.11371
0021 : 39 2E 31 2E 32 37 2E 31 30 30 2E 38 31 __ __ __
9.1.27.100.81
002E 86: [CONTEXT 1]
0030 : 30 84 00 00 00 50 02 01 64 02 01 00 63 84 00 00
0....P..d...c...
0040 : 00 44 81 04 48 6D E0 AA 82 02 03 69 83 01 3C
84 .D..Hm.....i..<.
0050 : 04 B3 B4 B4 40 85 00 86 84 00 00 00 06 02 01
FF [EMAIL PROTECTED]
0060 : 02 01 FF A7 84 00 00 00 1D 04 06 6F 3D 4D 79
51 ...........o=MyQ
0070 : 41 04 13 63 6E 3D 53 54 45 49 4E 42 41 43 48 2C
A..cn=STEINBACH,
0080 : 6F 3D 4D 79 51 41 __ __ __ __ __ __ __ __ __ __ o=MyQA
0086 : }
0086 : }
Which is invalid.
APPLICATION 25 is a IntermediateResponse which is defined as
IntermediateResponse ::= [APPLICATION 25] SEQUENCE {
responseName [0] LDAPOID OPTIONAL,
responseValue [1] OCTET STRING OPTIONAL }
you server seems to be returning
COMPONENTS OF LDAPResult,
inside the response, like other response types do, but
IntermediateResponse does not have these elements as per RFC 3771
Graham.