Problem: Samba Replication Error with "WERR_BAD_NET_RESP"

samba
samba-replication
problem

#1

Problem: Samba Replication Error with “WERR_BAD_NET_RESP”

You might notice errors in Nagios monitoring, diagnose module or by executing samba-tool drs showrepl:

CN=Configuration,DC=mydomain,DC=lan
        Default-First-Site-Name\SDC via RPC
                DSA object GUID: 0a989f75-b8b8-4ae4-a6d3-b1a66fa1f895
                Last attempt @ Mon Dec  7 11:58:50 2015 CET failed, result 58 (WERR_BAD_NET_RESP)

Solution

WERR_BAD_NET_RESP usually is a hint to a failed network connection between the two servers. Try to replicate again after you have verified network is fine:

samba-tool drs replicate <TARGET_SRV_NAME> <SOURCE_SRV_NAME> CN=Configuration,DC=mydomain,DC=lan --full-sync

#2