[SCM] Samba Shared Repository - branch master updated -
70b0c8f79a427a3227ce01bc930870771076bff7
Stefan Metzmacher
metze at samba.org
Tue Sep 23 09:39:18 GMT 2008
The branch, master has been updated
via 70b0c8f79a427a3227ce01bc930870771076bff7 (commit)
from 05e0966d85e7b6c61c88edb4633d0dda40959f01 (commit)
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master
- Log -----------------------------------------------------------------
commit 70b0c8f79a427a3227ce01bc930870771076bff7
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Sep 23 02:14:26 2008 +0200
RPC-PAC: loop in gensec_update() untill the server side is ready
metze
-----------------------------------------------------------------------
Summary of changes:
source4/torture/rpc/remote_pac.c | 6 +-----
1 files changed, 1 insertions(+), 5 deletions(-)
Changeset truncated at 500 lines:
diff --git a/source4/torture/rpc/remote_pac.c b/source4/torture/rpc/remote_pac.c
index 25368d2..a4111d1 100644
--- a/source4/torture/rpc/remote_pac.c
+++ b/source4/torture/rpc/remote_pac.c
@@ -116,16 +116,12 @@ static bool test_PACVerify(struct torture_context *tctx,
torture_assert_ntstatus_ok(tctx, status, "gensec_update (client) failed");
}
- if (client_to_server.length == 0) {
- break;
- }
-
status = gensec_update(gensec_server_context, tmp_ctx, client_to_server, &server_to_client);
if (!NT_STATUS_EQUAL(status, NT_STATUS_MORE_PROCESSING_REQUIRED)) {;
torture_assert_ntstatus_ok(tctx, status, "gensec_update (server) failed");
}
- if (server_to_client.length == 0) {
+ if (NT_STATUS_IS_OK(status)) {
break;
}
} while (1);
--
Samba Shared Repository
More information about the samba-cvs
mailing list