From 144ad3657eec5bb51057b6f4ed02643d42873c8b Mon Sep 17 00:00:00 2001 From: Pierangelo Masarati Date: Mon, 14 Nov 2005 18:21:55 +0000 Subject: [PATCH] handle empty parent (related to ITS#4171) --- servers/slapd/back-bdb/modify.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 */ -- 2.39.5