From 486c8d57ec5a9aa63aff275621ff45c22b8cde61 Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Wed, 2 Dec 2009 12:09:48 -0800 Subject: 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. --- source3/modules/vfs_acl_tdb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3/modules/vfs_acl_tdb.c') 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; } -- cgit