[Samba] Custom SAMBA4/OpenChage ZEG applicance

Michael Wood esiotrot at gmail.com
Tue Apr 24 02:29:56 MDT 2012


On 21 April 2012 17:11, John Russell <jb.fresh at gmail.com> wrote:
> Question following HowTo build your own OpenChange/SOGo appliance:
> I have been building my own SAMBA4/OpenChange appliance *MOSTLY* following
> the instructions at
> http://tracker.openchange.org/projects/openchange/wiki/HowTo_build_your_own_OpenChangeSOGo_appliance
> .
> I am using Ubuntu-Server 12.04 LTS (Precise Pangolin)
> precise-server-amd64.iso
> OpenChange from svn co -r 3923
> https://svn.openchange.org/openchange/branches/sogo
> SAMBA4 - Samba-4.0.0Alpha18
> At the step titled "Configure DNS service"
> # cd /etc/bind
> # mkdir samba
> # cp /usr/local/samba/private/named.* samba/
> # cp –rfi /usr/local/samba/private/dns samba/
> my named.* files are actually in "/usr/local/samba/share/setup/" (no big
> deal)
> logically I would assume my dns files would be in
> "/usr/local/samba/share/setup/dns" but no cookie :(
> Find reveals:
> find / -name "dns"
> /openchange/sogo/samba4/lib/dnspython/dns
> /openchange/sogo/samba4/libcli/dns
> /openchange/sogo/samba4/bin/default/libcli/dns
> /openchange/sogo/samba4/bin/default/source4/dsdb/dns
> /openchange/sogo/samba4/source4/selftest/provisions/alpha13/private/dns
> /openchange/sogo/samba4/source4/dsdb/dns
> /usr/share/pyshared/dns
> /usr/lib/python2.7/dist-packages/dns
> /usr/src/linux-headers-3.2.0-23-generic/include/config/ceph/lib/use/dns
> /usr/src/linux-headers-3.2.0-23-generic/include/config/dns
> Does anyone know the correct dns file or directory to copy to the bind
> directory?

Recent versions of Samba default to the bind DLZ backend instead of
the flat file backend.  Also, the Samba developers apparently want to
deprecate the flat file backend.

I have not checked the howto you're following, but it probably expects
the flat file backend while the provision step is provisioning the DLZ

So either you should call provision with the option to use the flat
file backend, or better just use the DLZ backend in which case you
don't need to copy files to bind's directory.  You just need to tell
it to use the Samba DLZ module.

Michael Wood <esiotrot at gmail.com>

More information about the samba mailing list