diff --git a/servers/slapd/filterentry.c b/servers/slapd/filterentry.c index 5d64c2f6b6..37f0fa649f 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 && !BER_BVISNULL( &e->e_nname ) ) { + if ( mra->ma_dnattrs && !BER_BVISEMPTY( &e->e_nname ) ) { LDAPDN dn = NULL; int iRDN, iAVA; int rc;