]> git.sur5r.net Git - openldap/commitdiff
ITS#5916,ITS#6003
authorQuanah Gibson-Mount <quanah@openldap.org>
Fri, 6 Mar 2009 08:14:56 +0000 (08:14 +0000)
committerQuanah Gibson-Mount <quanah@openldap.org>
Fri, 6 Mar 2009 08:14:56 +0000 (08:14 +0000)
CHANGES
servers/slapd/back-ldap/search.c

diff --git a/CHANGES b/CHANGES
index c4d9ab45d897ec1b26fd0489ddf74f8f5a26e03e..61828b3df2964b384e62cf71f97e24595d19efb4 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -11,6 +11,7 @@ OpenLDAP 2.4.16 Engineering
        Fixed slapd syncrepl newCookie sync messages (ITS#5972)
        Fixed slapd syncrepl multiple CSN propagation (ITS#5973)
        Fixed slapd-bdb/hdb cachesize handling (ITS#5860)
+       Fixed slapd-ldap incorrect referral handling (ITS#6003,ITS#5916)
        Fixed slapd-ldap/meta with broken AD results (ITS#5977)
        Fixed slapd-ldap/meta with invalid attrs again (ITS#5959)
        Fixed slapo-accesslog interaction with ppolicy (ITS#5979)
index b3a68b31411e21f23fe4793354cf1e228e3138b6..7e1af12a9f966e40c5ad50bd354b2f825a5e0acd 100644 (file)
@@ -929,8 +929,8 @@ retry:
 
        /* TODO: timeout? */
        rc = ldap_pvt_search_s( lc->lc_ld, ndn->bv_val, LDAP_SCOPE_BASE, filter,
-                               attrp, 0, ctrls, NULL,
-                               NULL, LDAP_NO_LIMIT, op->ors_deref, &result );
+                               attrp, LDAP_DEREF_NEVER, ctrls, NULL,
+                               NULL, LDAP_NO_LIMIT, 0, &result );
        if ( rc != LDAP_SUCCESS ) {
                if ( rc == LDAP_SERVER_DOWN && do_retry ) {
                        do_retry = 0;