summaryrefslogtreecommitdiff
path: root/source4/libcli/smb2/notify.c
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2008-05-30 17:03:54 +1000
committerAndrew Tridgell <tridge@samba.org>2008-05-30 17:03:54 +1000
commitbeaa01e403dda7557a6acdf0181d79d58a33bbbe (patch)
tree88c5930b546271d0bb9700096bdcdb6d97448e33 /source4/libcli/smb2/notify.c
parent27f465619b2d8e01397b6d15434c9f2c577c5457 (diff)
downloadsamba-beaa01e403dda7557a6acdf0181d79d58a33bbbe.tar.gz
samba-beaa01e403dda7557a6acdf0181d79d58a33bbbe.tar.bz2
samba-beaa01e403dda7557a6acdf0181d79d58a33bbbe.zip
implemented client side SMB2 signing
This doessn't work against Windows yet, and I've submitted a WSPP request for clarification of the docs to try and find out why. Meanwhile this is no worse than what we had, as it only gets used when the server demands signing, and we didn't work then anyway. (This used to be commit b788096add3586d7277efcd3bf5ca7f3a604cb7a)
Diffstat (limited to 'source4/libcli/smb2/notify.c')
-rw-r--r--source4/libcli/smb2/notify.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source4/libcli/smb2/notify.c b/source4/libcli/smb2/notify.c
index 096d790a31..ef7341cae8 100644
--- a/source4/libcli/smb2/notify.c
+++ b/source4/libcli/smb2/notify.c
@@ -44,10 +44,10 @@ struct smb2_request *smb2_notify_send(struct smb2_tree *tree, struct smb2_notify
SIVAL(req->out.body, 0x18, io->in.completion_filter);
SIVAL(req->out.body, 0x1C, io->in.unknown);
- old_timeout = req->transport->options.timeout;
- req->transport->options.timeout = 0;
+ old_timeout = req->transport->options.request_timeout;
+ req->transport->options.request_timeout = 0;
smb2_transport_send(req);
- req->transport->options.timeout = old_timeout;
+ req->transport->options.request_timeout = old_timeout;
return req;
}