[Samba] Joining Samba4 to existing AD

Rowland Penny rpenny at samba.org
Wed Apr 12 15:29:13 UTC 2017


On Wed, 12 Apr 2017 10:17:38 -0500
Erick Ocrospoma <zipper1790 at gmail.com> wrote:

> Hi Rowland, thanks for your reply.
> 
>
> This is the content of /etc/hosts
> 
> 
> [root at dc-02 ~]# cat /etc/hosts
> 127.0.0.1   localhost localhost.localdomain localhost4
> localhost4.localdomain4 dc-02.example.com dc-02
> ::1         localhost localhost.localdomain localhost6
> localhost6.localdomain6
> 10.3.251.19     dc-01.example.com  dc-01
> 
> 

Try changing it to this:

127.0.0.1 localhost.localdomain localhost
::1 localhost6.localdomain localhost6
10.3.251.19 dc-02.example.com dc-02

Provided that the IP of the new DC is '10.3.251.19' and the short
hostname is 'dc-02' and the the dns domain is 'example.com'




More information about the samba mailing list