]> git.sur5r.net Git - openldap/commitdiff
Fix ITS#5257
authorHoward Chu <hyc@openldap.org>
Wed, 5 Dec 2007 05:24:15 +0000 (05:24 +0000)
committerHoward Chu <hyc@openldap.org>
Wed, 5 Dec 2007 05:24:15 +0000 (05:24 +0000)
servers/slapd/back-bdb/dn2entry.c

index 187680d57f3e1981fbd6ee1f13493c6771523042..e897cbef262d540a3195bf8c2ccbda35d472e2e0 100644 (file)
@@ -73,7 +73,7 @@ bdb_dn2entry(
                        /* always return EntryInfo */
                        if ( ei->bei_parent ) {
                                ei = ei->bei_parent;
-                               rc2 = bdb_cache_find_id( op, tid, ei->bei_id, &ei, ID_LOCKED,
+                               rc2 = bdb_cache_find_id( op, tid, ei->bei_id, &ei, 0,
                                        locker, lock );
                                if ( rc2 ) rc = rc2;
                        }