This is a nasty hack to fix "xcopy /o" from win2000 on a Samba share
authorAndrew Tridgell <tridge@samba.org>
Tue, 26 Feb 2002 05:45:33 +0000 (05:45 +0000)
committerAndrew Tridgell <tridge@samba.org>
Tue, 26 Feb 2002 05:45:33 +0000 (05:45 +0000)
commitd09ae0c667a94fcf870c0fc7f97119266a650d45
tree2287f36407c6826af26bfe769713cc87d173c8b1
parent28d4e7a3e2bd8f15ef807b821e4300a72bbc6904
This is a nasty hack to fix "xcopy /o" from win2000 on a Samba share

The hack passes the true ntcreate desired_access down to open_file_shared1()
from the ntcreatex function. This is used to determine if share modes
should be used in denying this open.

This hack will become unnecessary when we redo open.c to use the proper
NTCreateX semantics rather than trying to jam the ntcreate semantics into
openX semantics.
source/smbd/nttrans.c
source/smbd/open.c