cli_open() wasn't handling DENY_FCB or O_WRONLY correctly.
authorAndrew Tridgell <tridge@samba.org>
Sat, 8 Jan 2000 10:15:53 +0000 (10:15 +0000)
committerAndrew Tridgell <tridge@samba.org>
Sat, 8 Jan 2000 10:15:53 +0000 (10:15 +0000)
commite8b5cb45155536107a71e1106ad4a624eb559496
treea74e7b8a64372daf2ea6075a29b7dcaaf2c9120a
parent6ba295ce0bde0aa8f64f60b1e72d6afec33bfece
cli_open() wasn't handling DENY_FCB or O_WRONLY correctly.
After fixing that I needed to use O_RDWR instead of O_WRONLY in
several places to avoid the silly bug in MS servers that doesn't allow
getattrE on a file opened with O_WRONLY
(This used to be commit e21aa4cb088f348139309d29c85c48c8b777cff5)
source3/client/client.c
source3/client/clitar.c
source3/client/smbspool.c
source3/libsmb/clientgen.c
source3/utils/torture.c