diff options
Diffstat (limited to 'source3/smbd')
-rw-r--r-- | source3/smbd/open.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/source3/smbd/open.c b/source3/smbd/open.c index 4f28e291cd..3e555a8f31 100644 --- a/source3/smbd/open.c +++ b/source3/smbd/open.c @@ -1802,12 +1802,6 @@ files_struct *open_directory(connection_struct *conn, return NULL; } - if (dir_existed && !S_ISDIR(psbuf->st_mode)) { - DEBUG(0,("open_directory: %s is not a directory !\n", fname )); - set_saved_ntstatus(NT_STATUS_NOT_A_DIRECTORY); - return NULL; - } - switch( create_disposition ) { case FILE_OPEN: /* If directory exists open. If directory doesn't |