From: Pierangelo Masarati Date: Sat, 22 Jan 2005 10:21:03 +0000 (+0000) Subject: fix ITS#3506 X-Git-Tag: OPENLDAP_REL_ENG_2_3_BP~284 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=a84938c2943e23fa53ad6efb05cb8202671ecf51;p=openldap fix ITS#3506 --- 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;