]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
smbd: Print reparse_point in dos_mode_debug_print
authorVolker Lendecke <vl@samba.org>
Tue, 25 Jun 2024 14:10:28 +0000 (16:10 +0200)
committerRalph Boehme <slow@samba.org>
Fri, 28 Jun 2024 13:26:24 +0000 (13:26 +0000)
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
source3/smbd/dosmode.c

index 796cd39626b3b1cf28041fa8b107a82685e430cd..dcb76012dad5cef99c00b2cda2600ab45afab947 100644 (file)
@@ -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);