[Samba] Samba 4.1 supports to join Windows 2012 server as a secondary DC?

L.P.H. van Belle belle at bazuin.nl
Mon Nov 11 00:38:59 MST 2013


check if this patch is applied: 

https://attachments.samba.org/attachment.cgi?id=9210 

i've seen the same error when i wanted to join my domain. 
( samba 4.0.10 ) 


>-----Oorspronkelijk bericht-----
>Van: maximiliano.beltritti at gmail.com 
>[mailto:samba-bounces at lists.samba.org] Namens Maximiliano Beltritti
>Verzonden: dinsdag 29 oktober 2013 18:38
>Aan: samba at samba.org
>Onderwerp: [Samba] Samba 4.1 supports to join Windows 2012 
>server as a secondary DC?
>
>Somebody knows if Samba 4.1 supports to join Windows 2012 server as a
>secondary DC?? Because after compiling samba 4.1 in an ubuntu 
>server i try
>to join to a Windows 2012 server and get this error:
>
>root at samba41:~/compilar/samba-4.1.0#
>/root/compilar/samba-4.1.0/bin/samba-tool domain join zentyal.it.com DC
>-Uadministrator --realm=zentyal.it.com
>Finding a writeable DC for domain 'zentyal.it.com'
>Found DC win2k12.zentyal.it.com
>Password for [WORKGROUP\administrator]:
>workgroup is ZENTYAL
>realm is zentyal.it.com
>checking sAMAccountName
>Adding CN=SAMBA41,OU=Domain Controllers,DC=zentyal,DC=it,DC=com
>Adding
>CN=SAMBA41,CN=Servers,CN=Default-First-Site-Name,CN=Sites,CN=Co
>nfiguration,DC=zentyal,DC=it,DC=com
>Adding CN=NTDS
>Settings,CN=SAMBA41,CN=Servers,CN=Default-First-Site-Name,CN=Si
>tes,CN=Configuration,DC=zentyal,DC=it,DC=com
>DsAddEntry failed with status (5, 'WERR_ACCESS_DENIED') info (8567,
>'WERR_DS_INCOMPATIBLE_VERSION')
>Join failed - cleaning up
>checking sAMAccountName
>Deleted CN=SAMBA41,OU=Domain Controllers,DC=zentyal,DC=it,DC=com
>Deleted
>CN=SAMBA41,CN=Servers,CN=Default-First-Site-Name,CN=Sites,CN=Co
>nfiguration,DC=zentyal,DC=it,DC=com
>ERROR(runtime): uncaught exception - DsAddEntry failed
>  File "bin/python/samba/netcmd/__init__.py", line 175, in _run
>    return self.run(*args, **kwargs)
>  File "bin/python/samba/netcmd/domain.py", line 552, in run
>    machinepass=machinepass, use_ntvfs=use_ntvfs, 
>dns_backend=dns_backend)
>  File "bin/python/samba/join.py", line 1169, in join_DC
>    ctx.do_join()
>  File "bin/python/samba/join.py", line 1072, in do_join
>    ctx.join_add_objects()
>  File "bin/python/samba/join.py", line 541, in join_add_objects
>    ctx.join_add_ntdsdsa()
>  File "bin/python/samba/join.py", line 474, in join_add_ntdsdsa
>    ctx.DsAddEntry([rec])
>  File "bin/python/samba/join.py", line 437, in DsAddEntry
>    raise RuntimeError("DsAddEntry failed")
>
>Thanks in advance!
>-- 
>To unsubscribe from this list go to the following URL and read the
>instructions:  https://lists.samba.org/mailman/options/samba
>
>



More information about the samba mailing list