From: Pierangelo Masarati Date: Sat, 22 Jan 2005 10:20:40 +0000 (+0000) Subject: fix ITS#3506 X-Git-Tag: OPENLDAP_REL_ENG_2_2_22~1 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=32885d2764ca642be47a81ba46a726576581f819;p=openldap fix ITS#3506 --- diff --git a/servers/slapd/filterentry.c b/servers/slapd/filterentry.c index dd75b76919..5d64c2f6b6 100644 --- a/servers/slapd/filterentry.c +++ b/servers/slapd/filterentry.c @@ -306,7 +306,7 @@ static int test_mra_filter( } /* check attrs in DN AVAs if required */ - if ( mra->ma_dnattrs ) { + if ( mra->ma_dnattrs && !BER_BVISNULL( &e->e_nname ) ) { LDAPDN dn = NULL; int iRDN, iAVA; int rc;