I'm trying to add a RODC in an AD environment using the command: /usr/local/samba4# bin/samba-tool domain join ad.xxxxx.com.br RODC -UAdministrator --realm=ad.xxxxx.com.br -W XXXXX But I'm getting this error: ... checking sAMAccountName Adding CN=TOWER,OU=Domain Controllers,DC=ad,DC=xxxxx,DC=com,DC=br Adding CN=krbtgt_TOWER,CN=Users,DC=ad,DC=xxxxx,DC=com,DC=br Got krbtgt_name=krbtgt_55883 Renaming CN=krbtgt_TOWER,CN=Users,DC=ad,DC=xxxxx,DC=com,DC=br to CN=krbtgt_55883,CN=Users,DC=ad,DC=xxxxx,DC=com,DC=br Adding CN=TOWER,CN=Servers,CN=Tower,CN=Sites,CN=Configuration,DC=ad,DC=xxxxx,DC=com,DC=br Adding CN=NTDS Settings,CN=TOWER,CN=Servers,CN=Tower,CN=Sites,CN=Configuration,DC=ad,DC=xxxxx,DC=com,DC=br Join failed - cleaning up checking sAMAccountName Deleted CN=TOWER,OU=Domain Controllers,DC=ad,DC=xxxxx,DC=com,DC=br Deleted CN=TOWER,CN=Servers,CN=Tower,CN=Sites,CN=Configuration,DC=ad,DC=xxxxx,DC=com,DC=br ERROR(ldb): uncaught exception - LDAP error 32 LDAP_NO_SUCH_OBJECT - <Failed to find GUID for DC=DomainDnsZones,DC=ad,DC=xxxxx,DC=com,DC=br> <> File "/usr/local/samba4/lib/python2.7/site-packages/samba/netcmd/__init__.py", line 160, in _run return self.run(*args, **kwargs) File "/usr/local/samba4/lib/python2.7/site-packages/samba/netcmd/domain.py", line 262, in run machinepass=machinepass, use_ntvfs=use_ntvfs, dns_backend=dns_backend) File "/usr/local/samba4/lib/python2.7/site-packages/samba/join.py", line 1019, in join_RODC ctx.do_join() File "/usr/local/samba4/lib/python2.7/site-packages/samba/join.py", line 956, in do_join ctx.join_add_objects() File "/usr/local/samba4/lib/python2.7/site-packages/samba/join.py", line 513, in join_add_objects ctx.join_add_ntdsdsa() File "/usr/local/samba4/lib/python2.7/site-packages/samba/join.py", line 438, in join_add_ntdsdsa ctx.samdb.add(rec, ["rodc_join:1:1"]) I am using a DC with the provision by using the parameter "--dns-backend=BIND9_FLATFILE" Using provision with samba_dlz, samba-tool can join the RODC without problems, but I can not use the dynamic dns update. * I had problems in using the samba_dlz with freebsd (not working) /usr/local/samba4# sbin/samba --version Version 4.0.0beta4 * in all environment