[RESOLVED]Re: bind sdb using ldap: load zone creating database failure

rvenne rvenne at meditrans.fr
Tue Jul 22 14:57:31 UTC 2008


Ok, I got it


zone "domain.com" {
        type master;
        database "ldap 
ldap://192.168.0.2/ou=domain.com,ou=dns,o=domain,dc=com 172800";
};

works fine.
by the way, what does mean this number? 172800?

rvenne a écrit :
> Hi list,
>
> I'm trying to use bind9-sdb-ldap-base-9.4.1.1 at freebsd 7.0_releng on a 
> openldap 2.3.30 at debian-etch backend.
>
> openldap works fine. but I'm unable to make work bind.
>
> here's my named.conf
>
> options {
>        directory       "/etc/namedb";
>        pid-file        "/var/run/named/pid";
>        statistics-file "/var/stats/named.stats";
>        listen-on {
>                 127.0.0.1;
>                 192.168.0.194;
>        };
>        listen-on-v6 {
>                 none;
>        };
>        //forward only;
>        forwarders {
>               192.168.0.2;
>        };
>        allow-query {
>                127.0.0.1;
>                0.0.0.0/0;
>        };
>       allow-recursion {
>               127.0.0.1;
>       };
>
> };
>
> zone "domain.com" {
>        type master;
>        database "ldap 
> ldap://192.168.0.2/ou=domain.com,ou=dns,o=domain,dc=com";
> };
>
> named gives followed errors:
>
> domain.com/IN: loading zone: creating database: failure
>
> regards
>


-- 
Richard VENNE
IT Administrator

Administrateur réseaux système & sécurité
Afin de respecter de l'environnement, merci de n'imprimer
cet email qu'en cas de nécessité absolue.



More information about the freebsd-questions mailing list