Fix bug #7126 - [SMBD] With access denied error smbd return wrong NT_STATUS_OBJECT_PA...
authorJeremy Allison <jra@samba.org>
Fri, 12 Feb 2010 23:45:20 +0000 (15:45 -0800)
committerJeremy Allison <jra@samba.org>
Fri, 12 Feb 2010 23:45:20 +0000 (15:45 -0800)
commit2fdd8b10c6abadd27c579e772c0482214d2363a5
tree1018e862863781b0c5867c46b513a88601273c22
parent72242ef7cd6d2c9b4cc4f82ef1138560cad78df1
Fix bug #7126 - [SMBD] With access denied error smbd return wrong NT_STATUS_OBJECT_PATH_INVALID error

As tridge's comment says, we should be ignoring ACCESS_DENIED
on the share path in a TconX call, instead allowing the mount
and having individual SMB calls fail (as Windows does). The
original code erroneously caught SMB_VFS_STAT != 0 and errored
out on that.

Jeremy.
source3/smbd/service.c