svn commit: samba r5416 - in branches/SAMBA_4_0/source/torture/nbt:
.
tridge at samba.org
tridge at samba.org
Wed Feb 16 10:10:47 GMT 2005
Author: tridge
Date: 2005-02-16 10:10:47 +0000 (Wed, 16 Feb 2005)
New Revision: 5416
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=5416
Log:
nicer output when trying to replicate with a server that hasn't been setup as
a partner
Modified:
branches/SAMBA_4_0/source/torture/nbt/winsreplication.c
Changeset:
Modified: branches/SAMBA_4_0/source/torture/nbt/winsreplication.c
===================================================================
--- branches/SAMBA_4_0/source/torture/nbt/winsreplication.c 2005-02-16 10:04:52 UTC (rev 5415)
+++ branches/SAMBA_4_0/source/torture/nbt/winsreplication.c 2005-02-16 10:10:47 UTC (rev 5416)
@@ -131,6 +131,12 @@
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);
More information about the samba-cvs
mailing list