Web lists-archives.com

Re: [Samba] Repadmin fails when querying Samba server 4.7.6




Some other info about this issue.
It's the same as the one described in this bug: https://bugzilla.samba.org/show_bug.cgi?id=11415

It seems that replication from Win2008R2 --> Samba works...

****************************************************************
# samba-tool drs showrepl

==== INBOUND NEIGHBORS ====

CN=Schema,CN=Configuration,DC=SAMDOM,DC=IT
        Default-First-Site-Name\SRVWIN via RPC
                DSA object GUID: 237cdbec-2e42-4b36-b571-eea51daaa535
                Last attempt @ Tue Jul 10 09:17:08 2018 CEST was successful
                0 consecutive failure(s).
                Last success @ Tue Jul 10 09:17:08 2018 CEST

CN=Configuration,DC=SAMDOM,DC=IT
        Default-First-Site-Name\SRVWIN via RPC
                DSA object GUID: 237cdbec-2e42-4b36-b571-eea51daaa535
                Last attempt @ Tue Jul 10 09:17:08 2018 CEST was successful
                0 consecutive failure(s).
                Last success @ Tue Jul 10 09:17:08 2018 CEST

DC=ForestDnsZones,DC=SAMDOM,DC=IT
        Default-First-Site-Name\SRVWIN via RPC
                DSA object GUID: 237cdbec-2e42-4b36-b571-eea51daaa535
                Last attempt @ Tue Jul 10 09:20:01 2018 CEST was successful
                0 consecutive failure(s).
                Last success @ Tue Jul 10 09:20:01 2018 CEST

DC=DomainDnsZones,DC=SAMDOM,DC=IT
        Default-First-Site-Name\SRVWIN via RPC
                DSA object GUID: 237cdbec-2e42-4b36-b571-eea51daaa535
                Last attempt @ Tue Jul 10 09:17:08 2018 CEST was successful
                0 consecutive failure(s).
                Last success @ Tue Jul 10 09:17:08 2018 CEST

DC=SAMDOM,DC=IT
        Default-First-Site-Name\SRVWIN via RPC
                DSA object GUID: 237cdbec-2e42-4b36-b571-eea51daaa535
                Last attempt @ Tue Jul 10 09:20:35 2018 CEST was successful
                0 consecutive failure(s).
                Last success @ Tue Jul 10 09:20:35 2018 CEST

==== OUTBOUND NEIGHBORS ====

CN=Schema,CN=Configuration,DC=SAMDOM,DC=IT
        Default-First-Site-Name\SRVWIN via RPC
                DSA object GUID: 237cdbec-2e42-4b36-b571-eea51daaa535
                Last attempt @ Mon Jul  9 22:16:58 2018 CEST was successful
                0 consecutive failure(s).
                Last success @ Mon Jul  9 22:16:58 2018 CEST

CN=Configuration,DC=SAMDOM,DC=IT
        Default-First-Site-Name\SRVWIN via RPC
                DSA object GUID: 237cdbec-2e42-4b36-b571-eea51daaa535
                Last attempt @ Tue Jul 10 09:12:16 2018 CEST was successful
                0 consecutive failure(s).
                Last success @ Tue Jul 10 09:12:16 2018 CEST

DC=ForestDnsZones,DC=SAMDOM,DC=IT
        Default-First-Site-Name\SRVWIN via RPC
                DSA object GUID: 237cdbec-2e42-4b36-b571-eea51daaa535
                Last attempt @ Tue Jul 10 08:59:05 2018 CEST was successful
                0 consecutive failure(s).
                Last success @ Tue Jul 10 08:59:05 2018 CEST

DC=DomainDnsZones,DC=SAMDOM,DC=IT
        Default-First-Site-Name\SRVWIN via RPC
                DSA object GUID: 237cdbec-2e42-4b36-b571-eea51daaa535
                Last attempt @ Mon Jul  9 22:16:58 2018 CEST was successful
                0 consecutive failure(s).
                Last success @ Mon Jul  9 22:16:58 2018 CEST

DC=SAMDOM,DC=IT
        Default-First-Site-Name\SRVWIN via RPC
                DSA object GUID: 237cdbec-2e42-4b36-b571-eea51daaa535
                Last attempt @ Tue Jul 10 08:31:27 2018 CEST was successful
                0 consecutive failure(s).
                Last success @ Tue Jul 10 08:31:27 2018 CEST

==== KCC CONNECTION OBJECTS ====

Connection --
        Connection name: d7373eb1-82b4-4509-a063-fcdac7b194d9
        Enabled        : TRUE
        Server DNS name : SRVWIN.samdom.local
        Server DN name  : CN=NTDS Settings,CN=SRVWIN,CN=Servers,CN=Default-First-Site-Name,CN=Sites,CN=Configuration,DC=SAMDOM,DC=IT
                TransportType: RPC
                options: 0x00000001
Warning: No NC replicated for Connection!

****************************************************************
...while Samba --> Win2008R2 doesnt:

PS C:\Users\Administrator.SAMDOM> repadmin /showrepl

Repadmin: running command /showrepl against full DC localhost
Default-First-Site-Name\SRVWIN
DSA Options: IS_GC
Site Options: (none)
DSA object GUID: 237cdbec-2e42-4b36-b571-eea51daaa535
DSA invocationID: 6627c041-b55c-4067-9e9b-e7da63be664d

==== INBOUND NEIGHBORS ======================================

DC=SAMDOM,DC=LOCAL
    Default-First-Site-Name\SRVSAMBA via RPC
        DSA object GUID: 8d7e07b2-8e53-4338-bbf7-dfbf866d962d
        Last attempt @ 2018-07-10 08:50:33 failed, result 8418 (0x20e2):
            The replication operation failed because of a schema mismatch between the servers involved.
        3 consecutive failure(s).
        Last success @ 2018-07-08 23:18:10.

CN=Configuration,DC=SAMDOM,DC=LOCAL
    Default-First-Site-Name\SRVSAMBA via RPC
        DSA object GUID: 8d7e07b2-8e53-4338-bbf7-dfbf866d962d
        Last attempt @ 2018-07-10 09:12:15 was successful.

CN=Schema,CN=Configuration,DC=SAMDOM,DC=LOCAL
    Default-First-Site-Name\SRVSAMBA via RPC
        DSA object GUID: 8d7e07b2-8e53-4338-bbf7-dfbf866d962d
        Last attempt @ 2018-07-10 08:50:33 was successful.

DC=DomainDnsZones,DC=SAMDOM,DC=LOCAL
    Default-First-Site-Name\SRVSAMBA via RPC
        DSA object GUID: 8d7e07b2-8e53-4338-bbf7-dfbf866d962d
        Last attempt @ 2018-07-10 08:50:32 was successful.

DC=ForestDnsZones,DC=SAMDOM,DC=LOCAL
    Default-First-Site-Name\SRVSAMBA via RPC
        DSA object GUID: 8d7e07b2-8e53-4338-bbf7-dfbf866d962d
        Last attempt @ 2018-07-10 08:59:04 was successful.

Source: Default-First-Site-Name\SRVSAMBA
******* 3 CONSECUTIVE FAILURES since 2018-07-08 23:18:10
Last error: 8418 (0x20e2):
            The replication operation failed because of a schema mismatch between the servers involved.

****************************************************************

Shall I join to that bug report?
If yes, is there someone here able to create a bugzilla accout for me or shall I send a specific request to bugzilla-maintenance@xxxxxxxxx?



Il 09/07/2018 22:57, Ing. Claudio Nicora ha scritto:
I'm trying to fix a replication error that occurs between Win2008R2 (srvwin) and Samba 4.7.6 DCs (srvsamba). Event viewer on Win2008R2 server reports that synchronization failed on a specific Computer object because of schema version misalignment between servers.


--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba