Hi Andrew, Em Dom, 2012-07-22 às 22:06 +1000, Andrew Bartlett escreveu: > 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?
Yes, all with Samba4 domain (environment with 3 DC's) > > > /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? Sure, I also need to understand why the dns samba_dlz does not work in an environment with freebsd > > Thanks, > > Andrew Bartlett > Thanks -- Luiz Gustavo Costa (Powered by BSD) *+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+ mundoUnix - Consultoria em Software Livre http://www.mundounix.com.br ICQ: 2890831 / MSN: [email protected] Tel: 55 (21) 4063-7110 / 8194-1905 / (11) 4063-0407 Blog: http://www.luizgustavo.pro.br -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
