summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorRichard Sharpe <sharpe@samba.org>2004-04-29 22:41:47 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 10:51:22 -0500
commit0922c254c6c8c941ebc7321b1c7114c1a5abd880 (patch)
treec3618304a77505395f079c5cddfaa2b3b36a77f5 /source3
parent65d9febf9a60be05f64598909679998b5734ac16 (diff)
downloadsamba-0922c254c6c8c941ebc7321b1c7114c1a5abd880.tar.gz
samba-0922c254c6c8c941ebc7321b1c7114c1a5abd880.tar.bz2
samba-0922c254c6c8c941ebc7321b1c7114c1a5abd880.zip
r415: Return NT_STATUS_ACCESS_DENIED not some LOCK message ...
(This used to be commit 164ff9a192e82be6eaef7b6e7c03e5dc7203f3de)
Diffstat (limited to 'source3')
-rw-r--r--source3/libsmb/errormap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/libsmb/errormap.c b/source3/libsmb/errormap.c
index aeb68b6596..77c71fce13 100644
--- a/source3/libsmb/errormap.c
+++ b/source3/libsmb/errormap.c
@@ -627,7 +627,7 @@ static const struct {
{ERRDOS, ERRnoaccess, NT_STATUS_ACCESS_DENIED},
{ERRDOS, ERRbadfid, NT_STATUS_INVALID_HANDLE},
{ERRDOS, ERRnomem, NT_STATUS_INSUFFICIENT_RESOURCES},
- {ERRDOS, ERRbadaccess, NT_STATUS_INVALID_LOCK_SEQUENCE},
+ {ERRDOS, ERRbadaccess, NT_STATUS_ACCESS_DENIED},
{ERRDOS, ERRbaddata, NT_STATUS_DATA_ERROR},
{ERRDOS, 14, NT_STATUS_SECTION_NOT_EXTENDED},
{ERRDOS, ERRremcd, NT_STATUS_DIRECTORY_NOT_EMPTY},