Does your DNS server allow client machines to update? I can't speak
for Samba 4 but I would with Windows 200x DC's it was simpler to
temporarily allow DNS updates while adding a DC.
On 06/26/12 23:59, Pradeep Pal wrote:> Hi All;
>
> Can any one help me, i am facing DNS related issue. this is my
> configuration.
>
> Centos 6.2 32bit OS
> samba4beta3
> bind-9.8.3-P1
>
> First i configure samba4 as a domain controller.
>
> then i configure other machine as a Additional domain controller, with
> samba4. but when i run this command it give errors.
>
> /usr/local/samba/bin/samba-tool drs showrepl
> Default-First-Site-Name\PDC
> DSA Options: 0x00000001
> DSA object GUID: 56003cd3-d15b-4825-915f-37b9e2952f2a
> DSA invocationId: ec8a9ed7-ce1a-449e-8321-97c715375445
>
> ==== INBOUND NEIGHBORS ===>
> DC=DomainDnsZones,DC=abc,DC=com
> Default-First-Site-Name\BDC via RPC
> DSA object GUID: adf1d7c5-4e92-400f-9bfb-17986c6d20a2
> Last attempt @ Wed Jun 27 08:51:47 2012 IST failed, result
> 2 (WERR_BADFILE)
> 216 consecutive failure(s).
> Last success @ NTTIME(0)
>
> DC=ForestDnsZones,DC=abc,DC=com
> Default-First-Site-Name\BDC via RPC
> DSA object GUID: adf1d7c5-4e92-400f-9bfb-17986c6d20a2
> Last attempt @ Wed Jun 27 08:51:47 2012 IST failed, result
> 2 (WERR_BADFILE)
> 216 consecutive failure(s).
> Last success @ NTTIME(0)
>
> DC=abc,DC=com
> Default-First-Site-Name\BDC via RPC
> DSA object GUID: adf1d7c5-4e92-400f-9bfb-17986c6d20a2
> Last attempt @ Wed Jun 27 08:51:47 2012 IST failed, result
> 2 (WERR_BADFILE)
> 216 consecutive failure(s).
> Last success @ NTTIME(0)
>
> CN=Schema,CN=Configuration,DC=abc,DC=com
> Default-First-Site-Name\BDC via RPC
> DSA object GUID: adf1d7c5-4e92-400f-9bfb-17986c6d20a2
> Last attempt @ Wed Jun 27 08:51:48 2012 IST failed, result
> 2 (WERR_BADFILE)
> 216 consecutive failure(s).
> Last success @ NTTIME(0)
>
> CN=Configuration,DC=abc,DC=com
> Default-First-Site-Name\BDC via RPC
> DSA object GUID: adf1d7c5-4e92-400f-9bfb-17986c6d20a2
> Last attempt @ Wed Jun 27 08:51:48 2012 IST failed, result
> 2 (WERR_BADFILE)
> 216 consecutive failure(s).
> Last success @ NTTIME(0)
>
> ==== OUTBOUND NEIGHBORS ===>
> DC=DomainDnsZones,DC=abc,DC=com
> Default-First-Site-Name\BDC via RPC
> DSA object GUID: adf1d7c5-4e92-400f-9bfb-17986c6d20a2
> Last attempt @ Wed Jun 27 08:54:11 2012 IST failed, result
> 2 (WERR_BADFILE)
> 4 consecutive failure(s).
> Last success @ NTTIME(0)
>
> DC=ForestDnsZones,DC=abc,DC=com
> Default-First-Site-Name\BDC via RPC
> DSA object GUID: adf1d7c5-4e92-400f-9bfb-17986c6d20a2
> Last attempt @ Wed Jun 27 08:54:12 2012 IST failed, result
> 2 (WERR_BADFILE)
> 4 consecutive failure(s).
> Last success @ NTTIME(0)
>
> DC=abc,DC=com
> Default-First-Site-Name\BDC via RPC
> DSA object GUID: adf1d7c5-4e92-400f-9bfb-17986c6d20a2
> Last attempt @ Wed Jun 27 08:54:12 2012 IST failed, result
> 2 (WERR_BADFILE)
> 4 consecutive failure(s).
> Last success @ NTTIME(0)
>
> CN=Schema,CN=Configuration,DC=abc,DC=com
> Default-First-Site-Name\BDC via RPC
> DSA object GUID: adf1d7c5-4e92-400f-9bfb-17986c6d20a2
> Last attempt @ Wed Jun 27 08:54:12 2012 IST failed, result
> 2 (WERR_BADFILE)
> 4 consecutive failure(s).
> Last success @ NTTIME(0)
>
> CN=Configuration,DC=abc,DC=com
> Default-First-Site-Name\BDC via RPC
> DSA object GUID: adf1d7c5-4e92-400f-9bfb-17986c6d20a2
> Last attempt @ Wed Jun 27 08:54:12 2012 IST failed, result
> 2 (WERR_BADFILE)
> 4 consecutive failure(s).
> Last success @ NTTIME(0)
>
> ==== KCC CONNECTION OBJECTS ===>
> Connection --
> Connection name: 251b24ae-5b5c-454a-834a-c2b3d7dc3f6f
> Enabled : TRUE
> Server DNS name : pdc.abc.com
> Server DN name : CN=NTDS
>
Settings,CN=BDC,CN=Servers,CN=Default-First-Site-Name,CN=Sites,CN=Configuration,DC=abc,DC=com
> TransportType: RPC
> options: 0x00000001
> Warning: No NC replicated for Connection!
>
>
> but when i add its numeric id in DNS _msdcs.abc.com
>
> with additional domain controller name it works but after, this
> i getting new error please help me to resolved this issue.
>
> /source4/dsdb/dns/dns_update.c:294: Failed DNS update -
> NT_STATUS_NOT_SAME_DEVICE
>
> this error show in additional domain controller log file...
>
> Regards
> Pradeep Pal
>
>
>
>
>