summaryrefslogtreecommitdiffstats
path: root/source/smbd/filename.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2005-06-25 03:03:44 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 10:58:02 -0500
commit0f03a6bdcdbdf60da81e0aeffa84ac6e48fc6a04 (patch)
tree8d59fe71324b8b0e42996a0b195c193a9b2e6811 /source/smbd/filename.c
parent71eb018a05c5012fbd42ba6817aabc0797d38ba1 (diff)
downloadsamba-0f03a6bdcdbdf60da81e0aeffa84ac6e48fc6a04.tar.gz
samba-0f03a6bdcdbdf60da81e0aeffa84ac6e48fc6a04.tar.xz
samba-0f03a6bdcdbdf60da81e0aeffa84ac6e48fc6a04.zip
r7893: Add in the extra parameters to opendir() to fix the large directory/insane app
problem. Rev vfs version. Doesn't change the normal codepath. Jeremy.
Diffstat (limited to 'source/smbd/filename.c')
-rw-r--r--source/smbd/filename.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/smbd/filename.c b/source/smbd/filename.c
index 3fb88974fef..f0a33e568eb 100644
--- a/source/smbd/filename.c
+++ b/source/smbd/filename.c
@@ -450,7 +450,7 @@ static BOOL scan_directory(connection_struct *conn, const char *path, char *name
mangled = !mangle_check_cache( name, maxlength, SNUM(conn));
/* open the directory */
- if (!(cur_dir = OpenDir(conn, path))) {
+ if (!(cur_dir = OpenDir(conn, path, NULL, 0))) {
DEBUG(3,("scan dir didn't open dir [%s]\n",path));
return(False);
}