]> git.sur5r.net Git - openldap/commitdiff
Fix test logic for quarantine
authorQuanah Gibson-Mount <quanah@openldap.org>
Thu, 22 May 2008 18:31:41 +0000 (18:31 +0000)
committerQuanah Gibson-Mount <quanah@openldap.org>
Thu, 22 May 2008 18:31:41 +0000 (18:31 +0000)
servers/slapd/back-meta/config.c

index 138bf68dcdb98ffe86f7376b4949f7b8189cd39b..93d7058de22d930418035f3020738641545834b2 100644 (file)
@@ -1238,7 +1238,7 @@ idassert-authzFrom        "dn:<rootdn>"
                        return 1;
                }
 
-               if ( mi->mi_ntargets ) {
+               if ( mi->mi_ntargets == 0 ) {
                        mi->mi_flags |= LDAP_BACK_F_QUARANTINE;
 
                } else {