From: Volker Lendecke Date: Tue, 25 Jun 2024 14:10:28 +0000 (+0200) Subject: smbd: Print reparse_point in dos_mode_debug_print X-Git-Tag: tdb-1.4.11~256 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=9cb187d1880bf9c56107ccce4dc8956284e94689;p=thirdparty%2Fsamba.git smbd: Print reparse_point in dos_mode_debug_print Signed-off-by: Volker Lendecke Reviewed-by: Ralph Boehme --- diff --git a/source3/smbd/dosmode.c b/source3/smbd/dosmode.c index 796cd39626b..dcb76012dad 100644 --- a/source3/smbd/dosmode.c +++ b/source3/smbd/dosmode.c @@ -64,6 +64,9 @@ static void dos_mode_debug_print(const char *func, uint32_t mode) if (mode & FILE_ATTRIBUTE_COMPRESSED) { fstrcat(modestr, "[compressed]"); } + if (mode & FILE_ATTRIBUTE_REPARSE_POINT) { + fstrcat(modestr, "[reparse_point]"); + } DBG_INFO("%s returning (0x%x): \"%s\"\n", func, (unsigned)mode, modestr);