From: Jeremy Allison Date: Wed, 2 Mar 2005 21:43:54 +0000 (+0000) Subject: r5630: This may be a mistake ... needs more cthon investigation. X-Git-Tag: samba-misc-tags/initial-v3-0-unstable~5190 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=0322c5884666bf62a37de069a1cd0ae888ac4285;p=thirdparty%2Fsamba.git r5630: This may be a mistake ... needs more cthon investigation. Jeremy. --- diff --git a/source/smbd/open.c b/source/smbd/open.c index fc4f97ad16d..a552dc5b610 100644 --- a/source/smbd/open.c +++ b/source/smbd/open.c @@ -494,12 +494,15 @@ existing desired access (0x%x).\n", fname, (unsigned int)desired_access, (unsign return False; } +#if 0 + /* Bluarc test may need this ... needs further investigation. */ if (deny_mode == DENY_ALL || old_deny_mode == DENY_ALL) { unix_ERR_class = ERRDOS; unix_ERR_code = ERRbadshare; unix_ERR_ntstatus = NT_STATUS_SHARING_VIOLATION; return False; } +#endif /* * If desired_access doesn't contain READ_DATA,WRITE_DATA,APPEND_DATA or EXECUTE