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

Andrew Bartlett abartlet at samba.org
Tue Oct 9 15:50:33 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

Andrew Bartlett                                http://samba.org/~abartlet/
Authentication Developer, Samba Team           http://samba.org

More information about the samba mailing list