]> git.sur5r.net Git - openldap/commitdiff
ITS#5916
authorQuanah Gibson-Mount <quanah@openldap.org>
Fri, 20 Feb 2009 01:28:32 +0000 (01:28 +0000)
committerQuanah Gibson-Mount <quanah@openldap.org>
Fri, 20 Feb 2009 01:28:32 +0000 (01:28 +0000)
CHANGES
libraries/libldap/search.c

diff --git a/CHANGES b/CHANGES
index 4ba194ace525542e5ecdff710f4d3bc3defc8b49..65d33b4c29a7a978b6937f4cad279f8e3f662e02 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -1,6 +1,7 @@
 OpenLDAP 2.4 Change Log
 
 OpenLDAP 2.4.15 Release (2009/02/19)
+       Added libldap alias dereferencing in C API again (ITS#5916)
        Fixed libldap GnuTLS compilation (ITS#5955)
        Fixed slapd bconfig conversion again (ITS#5346)
        Fixed slapd corrupt contextCSN (ITS#5947)
index 7dfdbd16c37d855b329d933a804bdd0bd3f60106..5c4e234e72395392130014ed21832d9329ad101d 100644 (file)
@@ -315,7 +315,8 @@ ldap_build_search_req(
 #endif
        {
            err = ber_printf( ber, "{it{seeiib", *idp,
-               LDAP_REQ_SEARCH, base, (ber_int_t) scope, ld->ld_deref,
+               LDAP_REQ_SEARCH, base, (ber_int_t) scope,
+               (deref < 0) ? ld->ld_deref : deref,
                (sizelimit < 0) ? ld->ld_sizelimit : sizelimit,
                (timelimit < 0) ? ld->ld_timelimit : timelimit,
                attrsonly );