summaryrefslogtreecommitdiff
path: root/source4/winbind/wb_samba3_cmd.c
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2005-10-03 14:50:07 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:39:18 -0500
commitea262d130b07e823467473b8e28c242bab952177 (patch)
tree13a66dd3f36d164217ebe4cb5d12e5b48b9a5f39 /source4/winbind/wb_samba3_cmd.c
parentfaf2ad667a8f973a6422c44fa7431c2fb6e4d82d (diff)
downloadsamba-ea262d130b07e823467473b8e28c242bab952177.tar.gz
samba-ea262d130b07e823467473b8e28c242bab952177.tar.bz2
samba-ea262d130b07e823467473b8e28c242bab952177.zip
r10685: Why wait 5 seconds...
(This used to be commit 820b4180dd3c1d07dd529fcb654ea01407a481cb)
Diffstat (limited to 'source4/winbind/wb_samba3_cmd.c')
-rw-r--r--source4/winbind/wb_samba3_cmd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/winbind/wb_samba3_cmd.c b/source4/winbind/wb_samba3_cmd.c
index 5dbb63696a..a32342b62b 100644
--- a/source4/winbind/wb_samba3_cmd.c
+++ b/source4/winbind/wb_samba3_cmd.c
@@ -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;