Fix bug in processing of open modes in POSIX open.
authorJeremy Allison <jra@samba.org>
Wed, 25 Feb 2009 21:01:04 +0000 (13:01 -0800)
committerKarolin Seeger <kseeger@samba.org>
Thu, 30 Jul 2009 07:22:13 +0000 (09:22 +0200)
commit9fe089291df30035974b750b4da7e6fa20b9c8a5
treee324dbe73b686074eb2e0e5990b7d295eae648f2
parent3b6017fa7cae1a2cda488da0cc2dee7b08b63267
Fix bug in processing of open modes in POSIX open.
Was missing case of "If file exists open. If file doesn't exist error."
Damn damn damn. CIFSFS client will have to have fallback cases
for this error for a long time.

Make test for open modes more robust against other bits.

Jeremy.
(cherry picked from commit ac11d94f36e1878f3f5d86f2e7197fd8ecdd196b)
source/smbd/trans2.c