diff options
Diffstat (limited to 'source3/smbd')
-rw-r--r-- | source3/smbd/trans2.c | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/source3/smbd/trans2.c b/source3/smbd/trans2.c index 550be0df41..f9186115f5 100644 --- a/source3/smbd/trans2.c +++ b/source3/smbd/trans2.c @@ -1171,12 +1171,16 @@ static int call_trans2qfsinfo(connection_struct *conn, SIVAL(pdata,4,0); /* characteristics */ break; case SMB_MAC_QUERY_FS_INFO: - /* - * Thursby MAC extension... - */ - data_len = 88; - SIVAL(pdata,84,0x100); /* Don't support mac... */ - break; + /* + * Thursby MAC extension... ONLY on NTFS filesystems + * once we do streams then we don't need this + */ + if (strequal(lp_fstype(SNUM(conn)),"NTFS")) { + data_len = 88; + SIVAL(pdata,84,0x100); /* Don't support mac... */ + break; + } + /* drop through */ default: return(ERROR(ERRDOS,ERRunknownlevel)); } |