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

index 66ffc4f6413d12686585d7af68aa375906d8d5d9..5cc91fbb8c9e7603350abbc4b95cc6b50addb1d1 100644 (file)
@@ -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;