]> git.ipfire.org Git - thirdparty/openldap.git/commitdiff
Corrected ITS#3506 fix
authorRalf Haferkamp <ralf@openldap.org>
Mon, 24 Jan 2005 16:37:45 +0000 (16:37 +0000)
committerRalf Haferkamp <ralf@openldap.org>
Mon, 24 Jan 2005 16:37:45 +0000 (16:37 +0000)
servers/slapd/filterentry.c

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