]> git.sur5r.net Git - openldap/commitdiff
revert test logic for quarantine
authorQuanah Gibson-Mount <quanah@openldap.org>
Thu, 22 May 2008 18:32:56 +0000 (18:32 +0000)
committerQuanah Gibson-Mount <quanah@openldap.org>
Thu, 22 May 2008 18:32:56 +0000 (18:32 +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 {