[Samba] How can I switch from internal dns server to bind9

felix at epepm.cupet.cu felix at epepm.cupet.cu
Fri Oct 12 06:34:38 MDT 2012

> On Tue, 2012-10-09 at 17:18 -0400, felix at epepm.cupet.cu wrote:
>> > On 10/9/12, felix at epepm.cupet.cu <felix at epepm.cupet.cu> wrote:
>> >> How can I switch from internal dns server to bind9???
>> >
>> > Add into [global] section of smb.conf "server services = -dns".
>> > Configure Bind (see named.* files which comes with samba) to use dlz
>> > plugin or good old plain files (requires basic zone definition).
>> > --
>> I guess it's not that easy. First, I added by hand the file named.conf
>> to
>> /usr/local/samba/private. Second the dlz complains: Failed to connect to
>> /usr/local/samba/private/dns/sam.ldb and there is no such directory,
>> instead sam.ldb is directly under /usr/local/samba/private/
> Run samba_upgradedns to create the extra files and the account.
> Andrew Bartlett

Now that I'm using bind9 I have two sam.ldb and sam.ldb.d. One pair
directly under /usr/local/samba/private/ and the other pair under
The last pair was created when I switched to bind9. Can I delete the pair
directly under /private ???


More information about the samba mailing list