summaryrefslogtreecommitdiff
path: root/source4/torture/rpc
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2007-08-03 08:25:15 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 15:01:28 -0500
commit5f6b501f217bf95522e2d1fe63ee1298feb1abd7 (patch)
tree7a276fd7d8f29eca76a261ad0ad8a077290dd1e0 /source4/torture/rpc
parente0779e2d3bb29c16fc4215e78cda8764bce15767 (diff)
downloadsamba-5f6b501f217bf95522e2d1fe63ee1298feb1abd7.tar.gz
samba-5f6b501f217bf95522e2d1fe63ee1298feb1abd7.tar.bz2
samba-5f6b501f217bf95522e2d1fe63ee1298feb1abd7.zip
r24146: It is not an error for a Win2k3-only server not to support the NT4
replication call. Andrew Bartlett (This used to be commit 59cba32c09f5b014788e4fb0479ed31f26a3d7e2)
Diffstat (limited to 'source4/torture/rpc')
-rw-r--r--source4/torture/rpc/dssync.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/source4/torture/rpc/dssync.c b/source4/torture/rpc/dssync.c
index 8f22622846..9546e5fd3d 100644
--- a/source4/torture/rpc/dssync.c
+++ b/source4/torture/rpc/dssync.c
@@ -774,6 +774,9 @@ static BOOL test_FetchNT4Data(struct DsSyncTest *ctx)
}
printf("dcerpc_drsuapi_DsGetNT4ChangeLog failed - %s\n", errstr);
ret = False;
+ } else if (W_ERROR_EQUAL(r.out.result, WERR_INVALID_DOMAIN_ROLE)) {
+ printf("DsGetNT4ChangeLog not supported by target server\n");
+ break;
} else if (!W_ERROR_IS_OK(r.out.result)) {
printf("DsGetNT4ChangeLog failed - %s\n", win_errstr(r.out.result));
ret = False;