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

Re: library



Friedrich Locke wrote:
Hi folks,

i would like to write a library that implements ldap client connection to the
server, as usual, the default routines:

For simple ops this isn't a big task, but when you add referrals to the mix it gets a bit messier.

Here's some design points to keep in mind so you don't make the same mistakes as current libldap does.

http://scratchpad.wikia.com/wiki/LDAP_C_API


connect
bind
search
unbind
etc ...

I wonder if there is a documentation showing how data is encoded with asn.1
ber encoding.

Rules for BER are in X.690. You can download the latest spec for free from the ITU-T.

http://www.itu.int/rec/T-REC-X.690/en

--
  -- Howard Chu
  CTO, Symas Corp.           http://www.symas.com
  Director, Highland Sun     http://highlandsun.com/hyc/
  Chief Architect, OpenLDAP  http://www.openldap.org/project/