[Samba] Joining DC

Andrew Bartlett abartlet at samba.org
Mon Aug 5 01:16:20 MDT 2013


On Mon, 2013-08-05 at 16:03 +1200, Andrew Bartlett wrote:
> On Fri, 2013-08-02 at 13:58 +1000, Alex Ferrara wrote:
> > I am having some trouble joining a new samba4 server as a DC. I am pretty sure this stems from trying to use OpenChange and subsequently removing it. The new samba4 machine is running 4.0.7 and the existing is running 4.0.1. I am a little hesitant to do an in-place upgrade of the last working DC, so I wanted a replica to fall back on in case things go bad.
> 
> > On the existing DC logs
> > 
> > [2013/08/02 13:53:04,  0] ../source4/rpc_server/drsuapi/getncchanges.c:220(get_nc_changes_build_object)
> >   ../source4/rpc_server/drsuapi/getncchanges.c:220: Failed to find attribute in schema for attrid 2786216 mentioned in replPropertyMetaData of CN=Recipient Update Service (DOMAIN)\0ADEL:cbf078d9-a0ff-4609-a05b-743816af619d,CN=Deleted Objects,CN=Configuration,DC=domain,DC=local
> 
> This is really interesting.  We are fighting with this in our automated
> testing, but we assumed it was due to runtime schema changes.  Presuming
> you have restarted Samba since the last schema change, this points as a
> more sinister issue.  
> 
> Can you take a clone of this sever, and on an isolated network upgrade
> this to git master, and try to join another git master server to it? 
> 
> If that fails in the same way, we may wish to get a dump of this object
> (and potentially the database via a secure route) so we can investigate
> further. 

Can you show me the output of 'dbcheck --cross-ncs' with this patch?  

Please do this on a backup of the domain.

Don't run dbcheck --fix because I know the test and fix is at least
partially bogus, but I'm just curious to see what this shows up. 

Thanks,

Andrew Bartlett

-- 
Andrew Bartlett
http://samba.org/~abartlet/
Authentication Developer, Samba Team           http://samba.org
Samba Developer, Catalyst IT                   http://catalyst.net.nz

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-dbcheck-FIXME-Try-and-find-replication-metadata-that.patch
Type: text/x-patch
Size: 5189 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba/attachments/20130805/82713802/attachment.bin>


More information about the samba mailing list