From 5f6b501f217bf95522e2d1fe63ee1298feb1abd7 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Fri, 3 Aug 2007 08:25:15 +0000 Subject: 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) --- source4/torture/rpc/dssync.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'source4/torture/rpc') 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; -- cgit