summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2008-03-11 15:26:02 -0700
committerJeremy Allison <jra@samba.org>2008-03-11 15:26:02 -0700
commit7d2c9c67fd5e4ebcedc5774fb8a24bee985b8fc8 (patch)
tree37df90884e260aec2f2dc6691762fd2f2643d463 /source3
parent792c9725388a8d1fd91df49f520705fcc7ffcea1 (diff)
downloadsamba-7d2c9c67fd5e4ebcedc5774fb8a24bee985b8fc8.tar.gz
samba-7d2c9c67fd5e4ebcedc5774fb8a24bee985b8fc8.tar.bz2
samba-7d2c9c67fd5e4ebcedc5774fb8a24bee985b8fc8.zip
Using Metze's S4 nttrans rename test, the nttrans rename
behaves the same as the trans2 one. Jeremy. (This used to be commit c4fa4917dad97c5047f7336c6675739b44da256b)
Diffstat (limited to 'source3')
-rw-r--r--source3/smbd/nttrans.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/nttrans.c b/source3/smbd/nttrans.c
index f67ddd3b31..bc93d19af3 100644
--- a/source3/smbd/nttrans.c
+++ b/source3/smbd/nttrans.c
@@ -1550,7 +1550,7 @@ static void call_nt_transact_rename(connection_struct *conn,
replace_if_exists,
False,
dest_has_wcard,
- DELETE_ACCESS);
+ FILE_WRITE_ATTRIBUTES);
if (!NT_STATUS_IS_OK(status)) {
if (open_was_deferred(req->mid)) {