]> git.ipfire.org Git - thirdparty/samba.git/commit
vfs_fruit: return ENOENT instead of EISDIR when trying to open AFP_Resource for a...
authorRalph Boehme <slow@samba.org>
Mon, 22 May 2023 17:35:33 +0000 (19:35 +0200)
committerJeremy Allison <jra@samba.org>
Thu, 25 May 2023 23:59:33 +0000 (23:59 +0000)
commit9b91a8bad2ff8da9eb56f1f9d640bcea294a5a0a
tree1a4d626cce34059fd8e1627237012c4096c83f86
parent59eadfe21aca6d563f86ea656517216036421bca
vfs_fruit: return ENOENT instead of EISDIR when trying to open AFP_Resource for a directory

Translates to NT_STATUS_OBJECT_NAME_NOT_FOUND which is the same error macOS
returns in this case.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=15378

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/modules/vfs_fruit.c