s3: smbd: Remove MAX_OPEN_DIRECTORIES check in dptr_create().
authorJeremy Allison <jra@samba.org>
Mon, 8 Jul 2019 22:01:43 +0000 (15:01 -0700)
committerJeremy Allison <jra@samba.org>
Tue, 9 Jul 2019 23:12:16 +0000 (23:12 +0000)
commit7b98319f3057bea2e78be7b540f640fc476c770c
treecca2c247499fe84718aa3cdb68b70ad3eeb2a03a
parenta43e6771348127dd2e3fd3efcc8e0b5691916862
s3: smbd: Remove MAX_OPEN_DIRECTORIES check in dptr_create().

This is a bug in that it's artificially limiting the number
of open directories an SMB2 client can have. If this code
was needed it should by SMB1 specific.

However we should allow the clients to decide for themselves
how many directory handles they need, not limit to MAX_OPEN_DIRECTORIES.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
source3/smbd/dir.c