From 87c51e6a0a55869faf5ce3f958732c2f55807354 Mon Sep 17 00:00:00 2001 From: Chris Toshok Date: Mon, 18 Dec 2000 21:36:44 +0000 Subject: always use LDAP_NAME_ERROR (in the openldap1 case it's #defined to 2000-12-18 Chris Toshok * backend/pas/pas-backend-ldap.c (ldap_error_to_response): always use LDAP_NAME_ERROR (in the openldap1 case it's #defined to NAME_ERROR). (build_card_from_entry): ldap_get_values can return NULL. also, openldap2 keeps us from getting at ldap->ld_errno, so we can't tell if there was a decoding error like we used to. the double free problem where ldap would free the ber if there was a decoding problem might be fixed now.. further investigation is needed. for now we leak in openldap2. (ldap_search_handler): the ldap structure is opaque, so use ldap_search_ext to give the extra information (the max responses, timeout, etc.) in the openldap2 case. svn path=/trunk/; revision=7073 --- addressbook/ChangeLog | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'addressbook/ChangeLog') diff --git a/addressbook/ChangeLog b/addressbook/ChangeLog index 036ba2cd7e..07dee161a6 100644 --- a/addressbook/ChangeLog +++ b/addressbook/ChangeLog @@ -1,3 +1,18 @@ +2000-12-18 Chris Toshok + + * backend/pas/pas-backend-ldap.c (ldap_error_to_response): always + use LDAP_NAME_ERROR (in the openldap1 case it's #defined to + NAME_ERROR). + (build_card_from_entry): ldap_get_values can return NULL. also, + openldap2 keeps us from getting at ldap->ld_errno, so we can't + tell if there was a decoding error like we used to. the double + free problem where ldap would free the ber if there was a decoding + problem might be fixed now.. further investigation is needed. + for now we leak in openldap2. + (ldap_search_handler): the ldap structure is opaque, so use + ldap_search_ext to give the extra information (the max responses, + timeout, etc.) in the openldap2 case. + 2000-12-13 Christopher James Lahey * backend/pas/pas-backend-ldap.c (ldap_error_to_response): Test -- cgit v1.2.3