[Samba] Samba internal dns problem / No domain service

sr sr42354 at gmail.com
Mon Nov 10 00:53:35 MST 2014


Le 07/11/2014 17:06, Rowland Penny a écrit :
> On 07/11/14 15:57, sr wrote:
>> Here is the result for w2008 :
>>
>> [root at samba4 ~]# samba-tool drs showrepl w2008 -UAdministrateur
>> Password for [ARIANE\Administrateur]:
>> Premier-Site-par-defaut\W2008
>> DSA Options: 0x00000001
>> DSA object GUID: c149ed42-68f5-4701-9b18-549887976193
>> DSA invocationId: 6a4b0e95-00f5-4c13-bc76-dd65266b6309
>>
>> ==== INBOUND NEIGHBORS ====
>>
>> DC=ariane,DC=intra
>>         Premier-Site-par-defaut\SAMBA4 via RPC
>>                 DSA object GUID: 5b69a4cd-505a-4f34-bf6c-cac1a5f2c1b9
>>                 Last attempt @ Fri Nov  7 16:50:01 2014 CET was 
>> successful
>>                 0 consecutive failure(s).
>>                 Last success @ Fri Nov  7 16:50:01 2014 CET
>>
>> CN=Configuration,DC=ariane,DC=intra
>>         Premier-Site-par-defaut\SAMBA4 via RPC
>>                 DSA object GUID: 5b69a4cd-505a-4f34-bf6c-cac1a5f2c1b9
>>                 Last attempt @ Fri Nov  7 16:50:01 2014 CET was 
>> successful
>>                 0 consecutive failure(s).
>>                 Last success @ Fri Nov  7 16:50:01 2014 CET
>>
>> CN=Schema,CN=Configuration,DC=ariane,DC=intra
>>         Premier-Site-par-defaut\SAMBA4 via RPC
>>                 DSA object GUID: 5b69a4cd-505a-4f34-bf6c-cac1a5f2c1b9
>>                 Last attempt @ Fri Nov  7 16:50:01 2014 CET was 
>> successful
>>                 0 consecutive failure(s).
>>                 Last success @ Fri Nov  7 16:50:01 2014 CET
>>
>> ==== OUTBOUND NEIGHBORS ====
>>
>> DC=ariane,DC=intra
>>         Premier-Site-par-defaut\SAMBA4 via RPC
>>                 DSA object GUID: 5b69a4cd-505a-4f34-bf6c-cac1a5f2c1b9
>>                 Last attempt @ NTTIME(0) was successful
>>                 0 consecutive failure(s).
>>                 Last success @ Fri Nov  7 16:50:16 2014 CET
>>
>> CN=Configuration,DC=ariane,DC=intra
>>         Premier-Site-par-defaut\SAMBA4 via RPC
>>                 DSA object GUID: 5b69a4cd-505a-4f34-bf6c-cac1a5f2c1b9
>>                 Last attempt @ NTTIME(0) was successful
>>                 0 consecutive failure(s).
>>                 Last success @ Fri Nov  7 16:50:11 2014 CET
>>
>> CN=Schema,CN=Configuration,DC=ariane,DC=intra
>>         Premier-Site-par-defaut\SAMBA4 via RPC
>>                 DSA object GUID: 5b69a4cd-505a-4f34-bf6c-cac1a5f2c1b9
>>                 Last attempt @ NTTIME(0) was successful
>>                 0 consecutive failure(s).
>>                 Last success @ Fri Nov  7 16:50:11 2014 CET
>>
>> DC=DomainDnsZones,DC=ariane,DC=intra
>>         Premier-Site-par-defaut\SAMBA4 via RPC
>>                 DSA object GUID: 5b69a4cd-505a-4f34-bf6c-cac1a5f2c1b9
>>                 Last attempt @ NTTIME(0) was successful
>>                 0 consecutive failure(s).
>>                 Last success @ Fri Nov  7 16:50:10 2014 CET
>>
>> DC=ForestDnsZones,DC=ariane,DC=intra
>>         Premier-Site-par-defaut\SAMBA4 via RPC
>>                 DSA object GUID: 5b69a4cd-505a-4f34-bf6c-cac1a5f2c1b9
>>                 Last attempt @ NTTIME(0) was successful
>>                 0 consecutive failure(s).
>>                 Last success @ Fri Nov  7 16:50:10 2014 CET
>>
>> ==== KCC CONNECTION OBJECTS ====
>>
>> Connection --
>>         Connection name: e72f35fb-9260-4c16-9642-a9254002715d
>>         Enabled        : TRUE
>>         Server DNS name : samba4.ariane.intra
>>         Server DN name  : CN=NTDS 
>> Settings,CN=SAMBA4,CN=Servers,CN=Premier-Site-par-defaut,CN=Sites,CN=Configuration,DC=ariane,DC=intra
>>                 TransportType: RPC
>>                 options: 0x00000001
>>                 ReplicatesNC: DC=ariane,DC=intra
>>                 Reason: 0x00000002
>>                         NTDSCONN_KCC_RING_TOPOLOGY
>>                 ReplicatesNC: CN=Configuration,DC=ariane,DC=intra
>>                 Reason: 0x00000002
>>                         NTDSCONN_KCC_RING_TOPOLOGY
>>                 ReplicatesNC: 
>> CN=Schema,CN=Configuration,DC=ariane,DC=intra
>>                 Reason: 0x00000002
>>                         NTDSCONN_KCC_RING_TOPOLOGY
>> Thanks.
>> Samuel
> Replication seems to be working, one last thought, what have you got 
> in /etc/resolv.conf ? mine just has:
>
> nameserver 127.0.0.1
> search example.com
>
> Rowland
>
>
Hello Rowland,

mine is like the one in the wiki doc "join a domain as a DC" :

search ariane.intra
nameserver 172.20.2.2
nameserver 172.20.2.6

172.20.2.2 is the samba4 DC and 172.20.2.6 the w2008.
I also tried to switch position of the 2 nameserver lines in this file 
without any more effect...

Thanks.
Samuel


More information about the samba mailing list