Always map EMFILE to ERRDOS, ERRnofids, *NOT* NT_STATUS_TOO_MANY_OPENED_FILES.
authorJeremy Allison <jra@samba.org>
Fri, 18 Dec 2009 02:27:54 +0000 (18:27 -0800)
committerKarolin Seeger <kseeger@samba.org>
Mon, 21 Dec 2009 09:55:05 +0000 (10:55 +0100)
commitcf8907ced2481857f7388cb0517eb93901ef5ada
tree6076148df6ba475f2bf5538a1c5eeed9bba76471
parent082ad52b1ebe26223a7a2b49b7094d5d6eb9b1ac
Always map EMFILE to ERRDOS, ERRnofids, *NOT* NT_STATUS_TOO_MANY_OPENED_FILES.
This is what W2KR3 does for NTCreateX and openX calls. May be the correct fix
for bug 6837 - "Too many open files" when trying to access large number of files.
Jeremy.
(cherry picked from commit 6585621d367d997b79ffb99e0a8743766e6ff6d2)
(cherry picked from commit e315849277ef307018d6dc93a1df04792f36a435)
source3/smbd/error.c