Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Jul 2008 16:57:30 +0200
From:      rvenne <rvenne@meditrans.fr>
To:        freebsd-questions@freebsd.org
Subject:   [RESOLVED]Re: bind sdb using ldap: load zone creating database failure
Message-ID:  <4885F55A.30008@meditrans.fr>
In-Reply-To: <4885E863.8060900@meditrans.fr>
References:  <4885E863.8060900@meditrans.fr>

next in thread | previous in thread | raw e-mail | index | archive | help
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@freebsd 7.0_releng on a 
> openldap 2.3.30@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.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4885F55A.30008>