s3:smbd: also log the "offline" flag when debugging the dos-mode
authorMichael Adam <obnox@samba.org>
Thu, 11 Oct 2012 05:41:19 +0000 (07:41 +0200)
committerJeremy Allison <jra@samba.org>
Wed, 17 Oct 2012 10:56:32 +0000 (12:56 +0200)
Signed-off-by: Michael Adam <obnox@samba.org>
Signed-off-by: Jeremy Allison <jra@samba.org>
source3/smbd/dosmode.c

index ad04a6515be859d3b937ce7a4bd60454472b9019..a98ac073f43be2616ce1d2ce80e6c06a9d28ed9d 100644 (file)
@@ -684,6 +684,7 @@ uint32 dos_mode(connection_struct *conn, struct smb_filename *smb_fname)
        if (result & FILE_ATTRIBUTE_DIRECTORY   ) DEBUG(8, ("d"));
        if (result & FILE_ATTRIBUTE_ARCHIVE  ) DEBUG(8, ("a"));
        if (result & FILE_ATTRIBUTE_SPARSE ) DEBUG(8, ("[sparse]"));
+       if (result & FILE_ATTRIBUTE_OFFLINE ) DEBUG(8, ("[offline]"));
 
        DEBUG(8,("\n"));