]> git.sur5r.net Git - openldap/commitdiff
revert test logic
authorPierangelo Masarati <ando@openldap.org>
Thu, 22 May 2008 17:43:12 +0000 (17:43 +0000)
committerPierangelo Masarati <ando@openldap.org>
Thu, 22 May 2008 17:43:12 +0000 (17:43 +0000)
servers/slapd/back-meta/config.c

index c655538fdfdccbd356bb3d3d1245305c134aad52..2d87c78c32f63bdb219f3eef271271fc9320afd3 100644 (file)
@@ -1239,7 +1239,7 @@ idassert-authzFrom        "dn:<rootdn>"
                        return 1;
                }
 
-               if ( mi->mi_ntargets ) {
+               if ( mi->mi_ntargets == 0 ) {
                        mi->mi_flags |= LDAP_BACK_F_QUARANTINE;
 
                } else {