#include "includes.h"
+extern enum protocol_types Protocol;
+
static int set_sparse_flag(const SMB_STRUCT_STAT * const sbuf)
{
#if defined (HAVE_STAT_ST_BLOCKS) && defined(STAT_ST_BLOCKSIZE)
result |= aHIDDEN;
}
+ if (Protocol <= PROTOCOL_LANMAN2) {
+ DEBUG(10,("dos_mode_msdfs : filtering result 0x%x\n",
+ (unsigned int)result ));
+ result &= 0xff;
+ }
+
DEBUG(8,("dos_mode_msdfs returning "));
if (result & aHIDDEN) DEBUG(8, ("h"));
result |= aHIDDEN;
}
+ if (Protocol <= PROTOCOL_LANMAN2) {
+ DEBUG(10,("dos_mode : filtering result 0x%x\n",
+ (unsigned int)result ));
+ result &= 0xff;
+ }
+
DEBUG(8,("dos_mode returning "));
if (result & aHIDDEN) DEBUG(8, ("h"));