}
static bool test_SamLogon(struct torture_context *tctx,
- struct dcerpc_pipe *p,
+ struct dcerpc_pipe *p,
struct cli_credentials *test_credentials,
NTSTATUS expected_result)
{
struct dcerpc_pipe *np = NULL;
if (torture_setting_bool(tctx, "samba3", false)) {
- delay = 1000000;
+ delay = 999999;
printf("Samba3 has second granularity, setting delay to: %d\n",
delay);
}
b->flags &= ~DCERPC_AUTH_OPTIONS;
b->flags |= DCERPC_SCHANNEL | DCERPC_SIGN | DCERPC_SCHANNEL_128;
- status = dcerpc_pipe_connect_b(tctx, &np, b,
+ status = dcerpc_pipe_connect_b(tctx, &np, b,
&ndr_table_netlogon,
machine_credentials, tctx->ev, tctx->lp_ctx);
uint32_t i;
struct policy_handle *handles = talloc_zero_array(tctx, struct policy_handle, num_total);
-
+
/* query */
{