[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: (ITS#8048) back-sock/slapo-sock issue



This is a multi-part message in MIME format.
--------------090704060507030702010600
Content-Type: text/plain; charset=ISO-8859-2
Content-Transfer-Encoding: quoted-printable

hyc@symas.com wrote:
> hyc@symas.com wrote:
>> michael@stroeder.com wrote:
>=20
>>> Can I raise the debug level? Log level trace does not really show the=
 ori=3D
>>> ginal
>>> byte sequence received by the external listener.
>>
>> Currently there is no debug code for this.
>=20
> Actually, if you use debug level SHELL you'll get a plaintext dump of t=
he=20
> received text. If you direct this into a file you can examine it with a=
 hex=20
> editor.

I tested this again running as overlay with -d SHELL. See attachment of t=
he
log excerpt as Python string representation read with open(file,'rb') bef=
ore.

You can find *exactly* the lines from this response string generated by t=
he
external listener:

'RESULT\nmsgid: 1\ncode: 49\ninfo: HOTP value wrong\n\n'

All lines starting with sock search reading line:
(RESULT\n)
(msgid: 1\n)
(code: 49\n)
(info: HOTP value wrong\n)

Excerpt of slapd's log repeated here for better readability in the ITS. P=
lease
note the extra space after "text=3D" which is not what the external liste=
ner
returned.

------------------------------------------------
5592d039 sock search reading line (RESULT
)
5592d039 sock search reading line (msgid: 1
)
5592d039 sock search reading line (code: 49
)
5592d039 sock search reading line (info: HOTP value wrong
)
5592d039 sock search reading line (
)
5592d039 str2result (msgid: 1
code: 49
info: HOTP value wrong

) unknown
5592d039 str2result (
) unknown
5592d039 conn=3D1000 op=3D0 RESULT tag=3D97 err=3D49 text=3D HOTP value w=
rong
------------------------------------------------

Ciao, Michael.

--------------090704060507030702010600
Content-Type: text/plain; charset=UTF-8;
 name="string"
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
 filename="string"

NTU5MmQwMzkgY29ubj0xMDAwIGZkPTEyIEFDQ0VQVCBmcm9tIFBBVEg9L29wdC91aS92YXIv
b3BlbmxkYXAvcnVuL2xkYXBpLXAgKFBBVEg9L29wdC91aS92YXIvb3BlbmxkYXAvcnVuL2xk
YXBpLXApXG41NTkyZDAzOSBj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