pemensik / bind-dyndb-ldap

Forked from bind-dyndb-ldap 6 years ago
Clone

e39df82 Do not load invalid zones.

Authored and Committed by pspacek 10 years ago
    Do not load invalid zones.
    
    Without this patch, it was possible to load an invalid zone without
    proper SOA or NS records because the fake SOA and NS records allowed
    checks in dns_zone_load() to pass.
    
    With this patch, no fake SOA or NS records are created and
    dns_zone_load() is not called before end of the initial synchronization.
    
    See the function ldapdb_associate() in ldap_driver.c and it's comments.
    
    Signed-off-by: Petr Spacek <pspacek@redhat.com>
    
        
file modified
+48 -76
file modified
+15 -1
file modified
+129 -50
file modified
+6 -3
file modified
+2 -2
file modified
+3 -0
file modified
+12 -3
file modified
+0 -2