From a84938c2943e23fa53ad6efb05cb8202671ecf51 Mon Sep 17 00:00:00 2001 From: Pierangelo Masarati Date: Sat, 22 Jan 2005 10:21:03 +0000 Subject: [PATCH] fix ITS#3506 --- servers/slapd/filterentry.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/servers/slapd/filterentry.c b/servers/slapd/filterentry.c index 66ffc4f641..5cc91fbb8c 100644 --- a/servers/slapd/filterentry.c +++ b/servers/slapd/filterentry.c @@ -342,7 +342,7 @@ static int test_mra_filter( } /* check attrs in DN AVAs if required */ - if ( mra->ma_dnattrs ) { + if ( mra->ma_dnattrs && !BER_BVISEMPTY( &e->e_nname ) ) { LDAPDN dn = NULL; int iRDN, iAVA; int rc; -- 2.39.5