s3:smbd: fix max_buffer handling of initial notify requests
authorStefan Metzmacher <metze@samba.org>
Wed, 16 Jan 2019 20:29:51 +0000 (21:29 +0100)
committerJeremy Allison <jra@samba.org>
Fri, 29 Mar 2019 00:35:39 +0000 (00:35 +0000)
commit11f2583420310e0278188935f31be3131eb85fd4
tree6a7df5ac214b426209000cd78e71bc2f6cfeca60
parent12fb3ec1dd886c15977ae9eb0b2b25f2017db10d
s3:smbd: fix max_buffer handling of initial notify requests

The max_buffer value is only evaluated on the first notify
request on a directory handle.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=13864

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Fri Mar 29 00:35:39 UTC 2019 on sn-devel-144
selftest/knownfail
source3/smbd/notify.c
source3/smbd/nttrans.c
source3/smbd/proto.h
source3/smbd/smb2_notify.c