]> git.sur5r.net Git - openldap/commitdiff
more about quarantine separation
authorPierangelo Masarati <ando@openldap.org>
Sun, 28 Jan 2007 00:31:47 +0000 (00:31 +0000)
committerPierangelo Masarati <ando@openldap.org>
Sun, 28 Jan 2007 00:31:47 +0000 (00:31 +0000)
servers/slapd/back-ldap/config.c

index 27dabf6585a2853489abf17f03d663cbab226a2f..78a2f2d25c12dd4e402038d75bea29ba4630fa24 100644 (file)
@@ -1230,6 +1230,7 @@ ldap_back_cf_gen( ConfigArgs *c )
                        slap_retry_info_destroy( &li->li_quarantine );
                        ldap_pvt_thread_mutex_destroy( &li->li_quarantine_mutex );
                        li->li_isquarantined = 0;
+                       li->li_flags &= ~LDAP_BACK_F_QUARANTINE;
                        break;
 
                default:
@@ -1861,6 +1862,7 @@ done_url:;
                        /* give it a chance to retry if the pattern gets reset
                         * via back-config */
                        li->li_isquarantined = 0;
+                       li->li_flags |= LDAP_BACK_F_QUARANTINE;
                }
                break;