Fixed SMB2 rename operations from Vista clients
authorAndrew Tridgell <tridge@samba.org>
Thu, 14 Feb 2008 01:30:31 +0000 (12:30 +1100)
committerAndrew Tridgell <tridge@samba.org>
Thu, 14 Feb 2008 01:30:31 +0000 (12:30 +1100)
commit839ab724dc2d204bfbb0693aeed64f6f83a4266b
treeec1db35884c7601a58a7cbeaddb94c75fd6668ec
parente870cfec9f3512b0f1bd3110d7b975652525e28a
Fixed SMB2 rename operations from Vista clients

We needed a flag in bufinfo to mark packets as SMB2, as it seems that
SMB2 uses a different format for the RenameInformation buffer than SMB
does

Also handle the fact that SMB2 clients give the full path to the
target file in the rename, not a relative path
(This used to be commit 52d7972d95ddc19d22a4187b4d4428a6c3ed32d5)
source4/libcli/raw/interfaces.h
source4/libcli/raw/rawrequest.c
source4/libcli/raw/request.h
source4/libcli/smb2/request.c
source4/ntvfs/posix/pvfs_setfileinfo.c
source4/smb_server/blob.c
source4/smb_server/smb/request.c
source4/smb_server/smb2/receive.c