git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
05e0966
)
RPC-PAC: loop in gensec_update() untill the server side is ready
author
Stefan Metzmacher
<metze@samba.org>
Tue, 23 Sep 2008 00:14:26 +0000
(
02:14
+0200)
committer
Stefan Metzmacher
<metze@samba.org>
Tue, 23 Sep 2008 09:30:01 +0000
(11:30 +0200)
metze
source4/torture/rpc/remote_pac.c
patch
|
blob
|
history
diff --git
a/source4/torture/rpc/remote_pac.c
b/source4/torture/rpc/remote_pac.c
index 25368d239a4a34c50a861e324602675f468772e1..a4111d1c3efaa24d351de544c6ba772649e8fb91 100644
(file)
--- 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);