summaryrefslogtreecommitdiff
path: root/source3/modules/vfs_acl_tdb.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2009-12-02 12:09:48 -0800
committerJeremy Allison <jra@samba.org>2009-12-02 12:09:48 -0800
commit486c8d57ec5a9aa63aff275621ff45c22b8cde61 (patch)
treedd7a853c5ca46f35a73d036be4feef4f539d9a90 /source3/modules/vfs_acl_tdb.c
parentb6fdecd11210a3d2ff803bdc315aacd9f8b445a1 (diff)
downloadsamba-486c8d57ec5a9aa63aff275621ff45c22b8cde61.tar.gz
samba-486c8d57ec5a9aa63aff275621ff45c22b8cde61.tar.bz2
samba-486c8d57ec5a9aa63aff275621ff45c22b8cde61.zip
Ensure get_nt_acl_internal() only looks at the ACL blobs, not
reads off the underlying filesystem. Ensure that vfs_acl_tdb.c returns NT_STATUS_NOT_FOUND, not NT_STATUS_OBJECT_NAME_NOT_FOUND when it can't find a blob matching the file. Jeremy.
Diffstat (limited to 'source3/modules/vfs_acl_tdb.c')
-rw-r--r--source3/modules/vfs_acl_tdb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/modules/vfs_acl_tdb.c b/source3/modules/vfs_acl_tdb.c
index f9e766d001..dcd323a148 100644
--- a/source3/modules/vfs_acl_tdb.c
+++ b/source3/modules/vfs_acl_tdb.c
@@ -188,7 +188,7 @@ static NTSTATUS get_acl_blob(TALLOC_CTX *ctx,
(unsigned int)data.dsize, name ));
if (pblob->length == 0 || pblob->data == NULL) {
- return NT_STATUS_OBJECT_NAME_NOT_FOUND;
+ return NT_STATUS_NOT_FOUND;
}
return NT_STATUS_OK;
}