searchRequest/Response OCTET STRING

Julio M. Santos (julioms@morgane.com)
Fri, 13 Sep 1996 14:37:38 -0700

Hi,

I need to know how a simple searchRequest looks like and, more important,
how
the searchResponse looks like.

I'm sending this to the server:

searchRequest:

30 28
02 01 02 -- message id
63 20
04 02 "cn" -- base object
0A 01 01 -- scope
0A 01 00 -- deref
02 01 00 -- size limit
02 01 00 -- time limit
01 01 FF -- attrs only
A4 0D -- filter
04 02 "sn"
30 06
80 04 "juli"
30 00

I think this is correct. But I'm receiving this:

searchResponse:

30 0C
02 01 01
61 07
0A 01 00 -- no error
04 00 -- ??
04 00 -- ??
30 0C
02 01 02
65 07
0A 01 22 -- error?
04 00 -- ??
04 00 -- ??

Why I'm getting this? How should look a *good* searchResponse??

Is there any tutorial on the net I should read? I read the RFC1777 and so
on,
but I need some concrete examples...

Thanks a lot!

Julio M Santos
_____________________________
MagicWeb Communications, Inc.
Sunnyvale CA 94086 - USA