]> git.sur5r.net Git - openldap/commitdiff
Need normalized dn during entry testing.
authorKurt Zeilenga <kurt@openldap.org>
Mon, 12 Jul 1999 19:07:33 +0000 (19:07 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Mon, 12 Jul 1999 19:07:33 +0000 (19:07 +0000)
servers/slapd/back-ldbm/search.c

index 0fdbe926b9d9ada8fe03f1c07472ddafb88abf64..88dd69f3ce078f51e7b424a9d28f18d116e5db46 100644 (file)
@@ -130,7 +130,8 @@ ldbm_back_search(
                    scope, deref, manageDSAit );
        }
 
-       matched_dn = ch_strdup( e->e_dn );
+       /* need normalized dn below */
+       matched_dn = ch_strdup( e->e_ndn );
        cache_return_entry_r( &li->li_cache, e );
 
        /* null candidates means we could not find the base object */