diff options
Diffstat (limited to 'source4')
-rw-r--r-- | source4/torture/nbt/winsreplication.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/source4/torture/nbt/winsreplication.c b/source4/torture/nbt/winsreplication.c index f7e120d226..f3446b8e8b 100644 --- a/source4/torture/nbt/winsreplication.c +++ b/source4/torture/nbt/winsreplication.c @@ -131,6 +131,12 @@ static BOOL nbt_test_wins_replication(TALLOC_CTX *mem_ctx, const char *address) status = wrepl_request(wrepl_socket, mem_ctx, &request, &reply); CHECK_STATUS(status, NT_STATUS_OK); + if (reply->mess_type == WREPL_STOP_ASSOCIATION) { + printf("server refused table query - reason %d\n", + reply->message.stop.reason); + ret = False; + goto done; + } CHECK_VALUE(reply->mess_type, WREPL_REPLICATION); CHECK_VALUE(reply->message.replication.command, WREPL_REPL_TABLE_REPLY); |