]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
CVE-2021-44142: smbd: add Netatalk xattr used by vfs_fruit to the list of private...
authorRalph Boehme <slow@samba.org>
Sat, 20 Nov 2021 15:36:42 +0000 (16:36 +0100)
committerStefan Metzmacher <metze@samba.org>
Mon, 31 Jan 2022 15:27:37 +0000 (15:27 +0000)
This is an internal xattr that should not be user visible.

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

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

index 456b928a4c46f5811b22dcff62a6e2b541aff95f..b2d20a01888a8a8ae5b87055c1fffa7f3c5312e8 100644 (file)
@@ -46,6 +46,7 @@
 #include "libcli/smb/smb2_posix.h"
 #include "lib/util/string_wrappers.h"
 #include "source3/lib/substitute.h"
+#include "source3/lib/adouble.h"
 
 #define DIR_ENTRY_SAFETY_MARGIN 4096
 
@@ -203,6 +204,7 @@ bool samba_private_attr_name(const char *unix_ea_name)
                SAMBA_XATTR_DOS_ATTRIB,
                SAMBA_XATTR_MARKER,
                XATTR_NTACL_NAME,
+               AFPINFO_EA_NETATALK,
                NULL
        };