Fix bug #8112 - POSIX extension opens of a directory are denied with EISDIR.
authorJeremy Allison <jra@samba.org>
Fri, 29 Apr 2011 23:15:55 +0000 (16:15 -0700)
committerJeremy Allison <jra@samba.org>
Fri, 29 Apr 2011 23:15:55 +0000 (16:15 -0700)
commit2cb53f066e0e42d923be89dd3a7e18ea7a1b7340
tree59013af2202fcbc33193bcec846ddc8f67b7f33a
parent440d71f6c76a4363f69eaf70cada69bdcb98c7bf
Fix bug #8112 - POSIX extension opens of a directory are denied with EISDIR.

Ensure create_options are passed down to SMB_VFS_CREATE_FILE().
Correctly set create_options is SMB_O_DIRECTORY is set or pathname
is known to be a directory.

Jeremy.
source3/smbd/trans2.c