r10685: Why wait 5 seconds...
authorVolker Lendecke <vlendec@samba.org>
Mon, 3 Oct 2005 14:50:07 +0000 (14:50 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 18:39:18 +0000 (13:39 -0500)
(This used to be commit 820b4180dd3c1d07dd529fcb654ea01407a481cb)

source4/winbind/wb_samba3_cmd.c

index 5dbb63696ad4a32268bf7550b855a0517e4c74ab..a32342b62b99bb7d5a659615e15e9bb12ffe1f71 100644 (file)
@@ -284,9 +284,9 @@ static void wbsrv_samba3_check_machacc_receive_creds(struct composite_context *a
        if (!NT_STATUS_IS_OK(status)) {
                /* Nasty hack awaiting a proper fix. So far we can not
                 * delete a pipe from an async rpc callback which where we are
-                * in right now, so delete the pipe in 5 seconds.... :-) */
+                * in right now, so delete the pipe from an event handler.. */
                event_add_timed(s3call->call->event_ctx, service,
-                               timeval_current_ofs(5, 0),
+                               timeval_zero(),
                                delete_pipe, state->getcreds->out.netlogon);
                service->netlogon = NULL;
                goto done;