diff options
author | Volker Lendecke <vl@samba.org> | 2013-08-19 10:26:00 +0000 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2013-08-26 12:14:26 +0200 |
commit | 76142780fb6d69bdf6e15ea27b0436da3fa49fae (patch) | |
tree | c234f8769084a463d04149a6ab476b697962f6b6 /source3/locking | |
parent | 84b8bddd7d6845f389444e57d2029f2a954dfcd5 (diff) | |
download | samba-76142780fb6d69bdf6e15ea27b0436da3fa49fae.tar.gz samba-76142780fb6d69bdf6e15ea27b0436da3fa49fae.tar.bz2 samba-76142780fb6d69bdf6e15ea27b0436da3fa49fae.zip |
smbd: Simplify dropbox special case in unix_convert
EACCESS needs special treatment: If we want to create a fresh file,
return OBJECT_PATH_NOT_FOUND, so that the client will continue creating
the file. If the client wants us to open a potentially existing file,
we need to correctly return ACCESS_DENIED.
This patch makes this behaviour hopefully a bit clearer than the code
before did.
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Autobuild-User(master): Volker Lendecke <vl@samba.org>
Autobuild-Date(master): Mon Aug 26 12:14:26 CEST 2013 on sn-devel-104
Diffstat (limited to 'source3/locking')
0 files changed, 0 insertions, 0 deletions