Second part of fix for 6875 - trans2 FIND_FIRST2 response --> FIND_FIRST2 Data -...
authorJeremy Allison <jra@samba.org>
Wed, 16 Dec 2009 02:38:06 +0000 (18:38 -0800)
committerKarolin Seeger <kseeger@samba.org>
Wed, 16 Dec 2009 15:35:07 +0000 (16:35 +0100)
commitb53ee9ffe9d265e254a2c0b11bfcd7e6314ab13f
tree40b852def5b67c359ad3664e8a08e2c8a8662b5b
parenta706038680ffcc3124b5e476810bffb1f7578c06
Second part of fix for 6875 - trans2 FIND_FIRST2 response --> FIND_FIRST2 Data -> Fille Attributes are returned as 0x220 for LANMAN2.1 dial

Ensure dos_mode can return FILE_ATTRIBUTE_NORMAL, then filter the returned attributes by protocol level.
This makes us consistant in returning DOS attrs across all replies. Tested on OS/2 by Günter Kukkukk.
Jeremy.
source/smbd/dosmode.c
source/smbd/trans2.c