[Date Prev][Date Next]
> -----Original Message-----
> From: owner-openldap-software@OpenLDAP.org
> [mailto:owner-openldap-software@OpenLDAP.org]On Behalf Of Kervin L.
> 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
ld->ld_error can be retrieved directly using ldap_get_option() and
LDAP_OPT_ERROR_NUMBER. ld->ld_matched uses LDAP_OPT_MATCHED_DN. There
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
Symas: Premier OpenSource Development and Support
- Re: web500gw
- From: "Kervin L. Pierre" <firstname.lastname@example.org>