Fix bug #8507 - smbd doesn't correctly honor the "force create mode" bits from a...
commitf2df8379179445d92fc9b7bc03d27b9c871c312a
authorJeremy Allison <jra@samba.org>
Tue, 4 Oct 2011 21:46:00 +0000 (4 14:46 -0700)
committerKarolin Seeger <kseeger@samba.org>
Wed, 12 Oct 2011 18:56:06 +0000 (12 20:56 +0200)
tree18d19da87c5df559e2a37150c7c1c15587893adb
parent3c141abd300eb759f68e0e1ae106ee6f34e2775a
Fix bug #8507 - smbd doesn't correctly honor the "force create mode" bits from a cifsfs create.

Don't manipulate the new_dos_attributes bits until we know it's not a POSIX open.

Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Wed Oct  5 01:19:17 CEST 2011 on sn-devel-104
(cherry picked from commit f93fd128eb623e324459806a34052bd40afe82e5)
(cherry picked from commit 5253d36689115672f35ea8fffdcf509587900135)
source3/smbd/open.c