[Samba] Samba 4 Additional DC existing domain

Dino Edwards dino.edwards at mydirectmail.net
Tue Jun 11 14:40:13 MDT 2013



> -----Original Message-----
> From: Marc Muehlfeld [mailto:samba at marc-muehlfeld.de]
> Sent: Tuesday, June 11, 2013 4:19 PM
> To: Dino Edwards
> Cc: samba at lists.samba.org
> Subject: Re: [Samba] Samba 4 Additional DC existing domain
> 
> Hello Dino,
> 
> 
> I changed the HowTo a bit, to make it more clear, that the output shown
> is from "klist" and not "kinit".
> 

Awesome, thanks!



> > When I pointed one of the windows machines to use the samba 4 DC
>  > as its DNS server, I was able to resolve hosts in the mydomain.local
>  > domain. However, I wasn't able to resolve hosts outside my domain.
>  > A Windows DNS server is able to do that.
> 
> You have to add
> dns forwarder = 8.8.8.8
> to your smb.conf and restart Samba. Adapt 8.8.8.8 to whatever you host
> is, to which you want to forward queries to, your Samba isn't
> authoritative for.

I added it in the [global] section of the smb.conf and it seems to work

 
> > I'm also assuming that I should use 127.0.0.1 or the IP of the samba
> 4
>  > DC as the DNS server of the samba 4 DC in /etc/network/interfaces
> file
>  > vs. pointing to the Windows DC. Is that a correct assumption?
> 
> You can use the IP of any host, that is able to resolve your AD DNS
> domain(s).
> 


> 
> > And finally, rebooting the server does not automatically start samba.
>  > I have to start it manually. Do I need to create a script in
>  > /etc/init.d/ and if that's the case, is there a template for
> > that somewhere?
> 
> Yes, you need something that start the service if you want Samba to
> come
> up on reboots. See
> https://wiki.samba.org/index.php/Samba4/InitScript
> 
>

Awesome that worked too.


Cheers,

Dino


More information about the samba mailing list