summaryrefslogtreecommitdiff
path: root/source3/libsmb
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2006-12-24 11:13:32 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:16:42 -0500
commit469b42c61f73c0bd5166c33a909b3c68c1fb9dde (patch)
treeb4a474879e9d7f9145bcb8e59c508b88d139edfb /source3/libsmb
parent57d11622b55faddd14b3a6e32dca8f56d18280fb (diff)
downloadsamba-469b42c61f73c0bd5166c33a909b3c68c1fb9dde.tar.gz
samba-469b42c61f73c0bd5166c33a909b3c68c1fb9dde.tar.bz2
samba-469b42c61f73c0bd5166c33a909b3c68c1fb9dde.zip
r20338: Restructure open_directory a bit. This gets rid of a race condition regarding
error messages: We relied upon a stat that a directory did not exist to later on then do the mkdir or not. This does the mkdir directly and copes with a potential error. The second one is more important: It's possible with Samba 3 to do a ntcreate&x with NTCREATEX_OPTIONS_DIRECTORY and we happily do a NT_STATUS_OK. Also move up the use_nt_status() logic a bit. I think this does not belong into the core routines, the smb server as such should take care of it. Jeremy, do you think this should go to 3.0.24? I'll update samba4torture when the build farm has picked up this checkin. Volker (This used to be commit 472fb11f4968d30cedc9851215c63acd3132f3db)
Diffstat (limited to 'source3/libsmb')
0 files changed, 0 insertions, 0 deletions