Hi folks ?

I am writing an ldap library for accessing openldap server.
I have written a function that implements an ldap bind request and decode the openldap response.
The program output is given below.

sioux@etosha:~/msc/it/cnf/ldap/programs/ldp$ ./ldp 127.0.0.1.389
30 c 2 1 3 61 7 a 1 0 4 0 4 0
Tag: 48, Length: 12
Left: 12 bytes
================================
Tag: 2, Length: 1
Left: 10 bytes
Value: 3
================================
Tag: 97, Length: 7
Left: 7 bytes

My question is: how to "read" de last seven bytes ? I have read the ldap rfc but it is still confusing.
May you help me ?

Thanks a lot!
--
The lion and the tiger may be more powerful, but the wolves do not perform in the circus