On 08/27/2015 04:18 PM, Marc Muehlfeld wrote:> Hello Jim, > > Am 27.08.2015 um 21:49 schrieb Jim Seymour: >> BIND would be the auth nameserver for example.com and delegate >> the samdom.example.com zone to the Samba DNS running on the second >> (virtual) interface >> >> Samba is the auth nameserver for samdom.example.com > If you're already having BIND running, you're just one step away from > including the AD DNS domain as additional domain via DLZ. > https://wiki.samba.org/index.php/Configure_BIND_as_backend_for_Samba_AD#BIND_9.8_.2F_9.9 > > What's wrong with that?It says: include "/usr/local/samba/private/named.conf"; This file does not exist on my sernet 4.2 installation. In fact, I do not have a /usr/local/samba directory.
On 27/08/15 21:23, Robert Moskowitz wrote:> > > On 08/27/2015 04:18 PM, Marc Muehlfeld wrote: >> Hello Jim, >> >> Am 27.08.2015 um 21:49 schrieb Jim Seymour: >>> BIND would be the auth nameserver for example.com and delegate >>> the samdom.example.com zone to the Samba DNS running on the second >>> (virtual) interface >>> >>> Samba is the auth nameserver for samdom.example.com >> If you're already having BIND running, you're just one step away from >> including the AD DNS domain as additional domain via DLZ. >> https://wiki.samba.org/index.php/Configure_BIND_as_backend_for_Samba_AD#BIND_9.8_.2F_9.9 >> >> >> What's wrong with that? > > It says: > > include "/usr/local/samba/private/named.conf"; > > This file does not exist on my sernet 4.2 installation. > > In fact, I do not have a /usr/local/samba directory. > > >It now also says (at the top): As this HowTo is based around a compiled install, the PATHs refer to '/usr/local/samba' as a base. If you are using packages from your OS or Sernet, this PATH will most likely not exist, you will need to find the relevant files on your system, try starting with '/var/lib/samba'. I also use Sernet Samba 4.2.3 on one of my DCs and the required named.conf is in /var/lib/samba/private/ , it is also in /usr/share/samba/setup/ but called named.conf.dlz Rowland
Am 27.08.2015 um 22:23 schrieb Robert Moskowitz:>> What's wrong with that? > > It says: > > include "/usr/local/samba/private/named.conf"; > > This file does not exist on my sernet 4.2 installation. > > In fact, I do not have a /usr/local/samba directory.Sorry, but we really can't describe all file locations for every distro or package out there. It would end up in a totally mess. I'm already unhappy that there are so many distro exceptions on each page meanwhile, but I will clean that up, somewhen. We try to keep most things general with the default pathes when you compile it yourself. I'm sure, you will find out easily where the file is located via 'find' or having a look into the package file. Regards, Marc
On 08/27/2015 04:37 PM, Rowland Penny wrote:> On 27/08/15 21:23, Robert Moskowitz wrote: >> >> >> On 08/27/2015 04:18 PM, Marc Muehlfeld wrote: >>> Hello Jim, >>> >>> Am 27.08.2015 um 21:49 schrieb Jim Seymour: >>>> BIND would be the auth nameserver for example.com and delegate >>>> the samdom.example.com zone to the Samba DNS running on the >>>> second >>>> (virtual) interface >>>> >>>> Samba is the auth nameserver for samdom.example.com >>> If you're already having BIND running, you're just one step away from >>> including the AD DNS domain as additional domain via DLZ. >>> https://wiki.samba.org/index.php/Configure_BIND_as_backend_for_Samba_AD#BIND_9.8_.2F_9.9 >>> >>> >>> What's wrong with that? >> >> It says: >> >> include "/usr/local/samba/private/named.conf"; >> >> This file does not exist on my sernet 4.2 installation. >> >> In fact, I do not have a /usr/local/samba directory. >> >> >> > > It now also says (at the top): > > As this HowTo is based around a compiled install, the PATHs refer to > '/usr/local/samba' as a base. If you are using packages from your OS > or Sernet, this PATH will most likely not exist, you will need to find > the relevant files on your system, try starting with '/var/lib/samba'.Oh this is soooo much fun! Not..> I also use Sernet Samba 4.2.3 on one of my DCs and the required > named.conf is in /var/lib/samba/private/Empty dir.> , it is also in /usr/share/samba/setup/ but called named.conf.dlzAh there it (and others) are! thanks
On 27/08/15 21:41, Marc Muehlfeld wrote:> Am 27.08.2015 um 22:23 schrieb Robert Moskowitz: >>> What's wrong with that? >> It says: >> >> include "/usr/local/samba/private/named.conf"; >> >> This file does not exist on my sernet 4.2 installation. >> >> In fact, I do not have a /usr/local/samba directory. > > Sorry, but we really can't describe all file locations for every distro > or package out there. It would end up in a totally mess. I'm already > unhappy that there are so many distro exceptions on each page meanwhile, > but I will clean that up, somewhen.Hi Marc, I am guilty of this as much as anyone, but there is nowhere else to put this info. It would probably be better to have a page that lays out what computer name, domain and ipaddress etc the wiki uses. It should also stress that the wiki is based around a self compiled system as this is the way that Samba is actually distributed and that the users paths will be different if they use distro or Sernet packages. Something needs to be done, one confused user is one user too many. Rowland> > We try to keep most things general with the default pathes when you > compile it yourself. > > I'm sure, you will find out easily where the file is located via 'find' > or having a look into the package file. > > > Regards, > Marc >
On Thu, 27 Aug 2015 16:23:57 -0400 Robert Moskowitz <rgm at htt-consult.com> wrote:> > On 08/27/2015 04:18 PM, Marc Muehlfeld wrote:[snip]> > If you're already having BIND running, you're just one step away > > from including the AD DNS domain as additional domain via DLZ. > > https://wiki.samba.org/index.php/Configure_BIND_as_backend_for_Samba_AD#BIND_9.8_.2F_9.9 > > > > What's wrong with that? > > It says: > > include "/usr/local/samba/private/named.conf"; > > This file does not exist on my sernet 4.2 installation. > > In fact, I do not have a /usr/local/samba directory.It's an unfortunate fact of life that different Linux distros tend to put stuff in different places. Whenever documentation from the original/source project maintainer(s) refers to "/usr/local/...", you can be assured they're talking about if you build and install their package from the source tarball and that Linux distro people will put stuff Somewhere Else, often a wildly different Somewhere Else. samba_upgradedns told me where it would be, in my case. Regards, Jim -- Note: My mail server employs *very* aggressive anti-spam filtering. If you reply to this email and your email is rejected, please accept my apologies and let me know via my web form at <http://jimsun.LinxNet.com/contact/scform.php>.
when you know the name of a file.. its not so hard to search for it. I for example install mlocate.. type updatedb and `locate named.conf | grep samba` , voila your file and location. Greetz,>-----Oorspronkelijk bericht----- >Van: samba [mailto:samba-bounces at lists.samba.org] Namens Jim Seymour >Verzonden: vrijdag 28 augustus 2015 02:25 >Aan: samba at lists.samba.org >Onderwerp: Re: [Samba] Samba Internal DNS vs. BIND_DLZ > >On Thu, 27 Aug 2015 16:23:57 -0400 >Robert Moskowitz <rgm at htt-consult.com> wrote: > >> >> On 08/27/2015 04:18 PM, Marc Muehlfeld wrote: >[snip] >> > If you're already having BIND running, you're just one step away >> > from including the AD DNS domain as additional domain via DLZ. >> > >https://wiki.samba.org/index.php/Configure_BIND_as_backend_for_ >Samba_AD#BIND_9.8_.2F_9.9 >> > >> > What's wrong with that? >> >> It says: >> >> include "/usr/local/samba/private/named.conf"; >> >> This file does not exist on my sernet 4.2 installation. >> >> In fact, I do not have a /usr/local/samba directory. > >It's an unfortunate fact of life that different Linux distros tend to >put stuff in different places. Whenever documentation from the >original/source project maintainer(s) refers to "/usr/local/...", you >can be assured they're talking about if you build and install their >package from the source tarball and that Linux distro people will put >stuff Somewhere Else, often a wildly different Somewhere Else. > >samba_upgradedns told me where it would be, in my case. > >Regards, >Jim >-- >Note: My mail server employs *very* aggressive anti-spam >filtering. If you reply to this email and your email is >rejected, please accept my apologies and let me know via my >web form at <http://jimsun.LinxNet.com/contact/scform.php>. > >-- >To unsubscribe from this list go to the following URL and read the >instructions: https://lists.samba.org/mailman/options/samba > >