]> git.sur5r.net Git - openldap/commitdiff
fix ITS#3506
authorPierangelo Masarati <ando@openldap.org>
Sat, 22 Jan 2005 10:20:40 +0000 (10:20 +0000)
committerPierangelo Masarati <ando@openldap.org>
Sat, 22 Jan 2005 10:20:40 +0000 (10:20 +0000)
servers/slapd/filterentry.c

index dd75b769197af4867c0377121718381f3320e0da..5d64c2f6b69abcd71871aa91e8fb2da47f85b908 100644 (file)
@@ -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;