Fix bug 8133 - strange behavior for the file (whose filename first character is perio...
commit87e5e4f23214a00b701698be6e151ac169357e3d
authorJeremy Allison <jra@samba.org>
Thu, 19 May 2011 23:39:18 +0000 (19 16:39 -0700)
committerKarolin Seeger <kseeger@samba.org>
Tue, 7 Jun 2011 18:00:41 +0000 (7 20:00 +0200)
tree5ed5f665c20860729e0d8d002f97e3c820ee210b
parent6aea07c487f877dc1fe6de1982fc62fcaa2ecd64
Fix bug 8133 - strange behavior for the file (whose filename first character is period ) in SMB2 case.

When doing SMB2 renames, we need to match all filetypes (no attributes field in the SMB2 call).
By default a file starting with a period is returned as FILE_ATTRIBUTE_HIDDEN in Samba.

Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Fri May 20 19:26:04 CEST 2011 on sn-devel-104
(cherry picked from commit 318c77ec46c3769d462bada130956d0081c48be2)
source3/smbd/trans2.c