summaryrefslogtreecommitdiff
path: root/source4/dsdb
diff options
context:
space:
mode:
authorMatthieu Patou <mat@matws.net>2011-11-21 23:37:03 +0100
committerMatthieu Patou <mat@matws.net>2011-12-05 18:23:08 +0100
commit059523e2036d8a2215fd4ea59047e2d9dacce062 (patch)
treed7f92e1c107f3543163b256022013e94c80a4670 /source4/dsdb
parent2f8a84bb7b430c68c06f4121df6905b163f7ae71 (diff)
downloadsamba-059523e2036d8a2215fd4ea59047e2d9dacce062.tar.gz
samba-059523e2036d8a2215fd4ea59047e2d9dacce062.tar.bz2
samba-059523e2036d8a2215fd4ea59047e2d9dacce062.zip
s4-resolver: do not use all the A and AAAA records, those after a NS are not the one we want to use
Diffstat (limited to 'source4/dsdb')
-rw-r--r--source4/dsdb/repl/drepl_out_helpers.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/dsdb/repl/drepl_out_helpers.c b/source4/dsdb/repl/drepl_out_helpers.c
index 8cfafb9527..16825d400b 100644
--- a/source4/dsdb/repl/drepl_out_helpers.c
+++ b/source4/dsdb/repl/drepl_out_helpers.c
@@ -845,7 +845,7 @@ static void dreplsrv_update_refs_done(struct tevent_req *subreq)
* running production as this error otherwise never happen and
* due to the fact the send a DsReplicaUpdateRefs after each getNcChanges
*/
- if (!W_ERROR_EQUAL(werr, WERR_DS_DRA_BUSY)) {
+ if (!W_ERROR_EQUAL(r->out.result, WERR_DS_DRA_BUSY)) {
tevent_req_nterror(req, status);
return;
}