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

RE: web500gw

> -----Original Message-----
> From: owner-openldap-software@OpenLDAP.org
> [mailto:owner-openldap-software@OpenLDAP.org]On Behalf Of Kervin L.
> Pierre

> PS. I started looking into getting it to compile ( I haven't tried the
> patch ).  I did not see the patch remove accesses to the members LDAP
> structure.  AFAIK, stuff like ld->ld_error was allowed in RFC1823 but
> not in the current draft that OpenLDAP 2.x follows. So ld->ld_error has
> to be replaced by the return param of ldap_err2string(), etc.  I could
> not find a similar function for ld->ld_match .  Also ldap_set_option()
> has to be used instead of assigning ld->ld_sizelimit. The RFC they use
> is at ftp://ftp.isi.edu/in-notes/rfc1823.txt and the draft that OpenLDAP
> uses is at
> http://www.watersprings.org/pub/id/draft-ietf-ldapext-ldap-c-api-04.txt

ld->ld_error can be retrieved directly using ldap_get_option() and
should be an option available for all of the fields defined in 1823.
These options aren't all in the draft API, the draft API is inadequate
in many areas. You just need to look at the source in libldap/options.c
to find what's usable.

  -- Howard Chu
  Chief Architect, Symas Corp.       Director, Highland Sun
  http://www.symas.com               http://highlandsun.com/hyc
  Symas: Premier OpenSource Development and Support