Second part of fix for 6875 - trans2 FIND_FIRST2 response --> FIND_FIRST2 Data -...
commit22332e08ab5b406ca603576b29fcaf0c1f786708
authorJeremy Allison <jra@samba.org>
Wed, 16 Dec 2009 02:36:36 +0000 (15 18:36 -0800)
committerKarolin Seeger <kseeger@samba.org>
Wed, 16 Dec 2009 15:34:42 +0000 (16 16:34 +0100)
tree03245bfe8539417cbc57f26323ed837822cbe9a1
parent874a4e34ff6222a4d387815f3ec896a24822f94e
Second part of fix for 6875 - trans2 FIND_FIRST2 response --> FIND_FIRST2 Data -> Fille Attributes are returned as 0x220 for LANMAN2.1 dialect

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.
source3/smbd/dosmode.c
source3/smbd/trans2.c