[Samba] error in join a RODC (samba4)
Andrew Bartlett
abartlet at samba.org
Sun Jul 22 06:06:13 MDT 2012
On Fri, 2012-07-20 at 12:04 -0300, Luiz Gustavo wrote:
> Hi list,
>
> I'm trying to add a RODC in an AD environment using the command:
Is this joining a Samba4 domain, or a Microsoft AD domain?
> /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:
> 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.
If this is starting with a Samba4 domain with the flat file DNS, we
probably need to work out if we have DNS partitions before we attempt to
replicate them.
Can you file a bug so I don't forget?
Thanks,
Andrew Bartlett
--
Andrew Bartlett http://samba.org/~abartlet/
Authentication Developer, Samba Team http://samba.org
More information about the samba
mailing list