From: Pierangelo Masarati Date: Mon, 14 Nov 2005 18:21:55 +0000 (+0000) Subject: handle empty parent (related to ITS#4171) X-Git-Tag: OPENLDAP_REL_ENG_2_2_MP~19 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=144ad3657eec5bb51057b6f4ed02643d42873c8b;p=openldap handle empty parent (related to ITS#4171) --- diff --git a/servers/slapd/back-bdb/modify.c b/servers/slapd/back-bdb/modify.c index 08d0a5d8c7..22b1f96901 100644 --- a/servers/slapd/back-bdb/modify.c +++ b/servers/slapd/back-bdb/modify.c @@ -381,7 +381,9 @@ retry: /* transaction retry */ } } - e = ei->bei_e; + if ( !fakeroot ) { + e = ei->bei_e; + } /* acquire and lock entry */ /* FIXME: dn2entry() should return non-glue entry */