summaryrefslogtreecommitdiff
path: root/source3/smbd/trans2.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2000-02-18 03:54:26 +0000
committerJeremy Allison <jra@samba.org>2000-02-18 03:54:26 +0000
commit8dcac9f8daab74e1a95293fbf64d0c95ce7a0d2a (patch)
tree996ec9920c5dea2df8b495d2fe5dd4d8c773da64 /source3/smbd/trans2.c
parent1a27ef121a020cba88bf4a39959c7f299a7155ad (diff)
downloadsamba-8dcac9f8daab74e1a95293fbf64d0c95ce7a0d2a.tar.gz
samba-8dcac9f8daab74e1a95293fbf64d0c95ce7a0d2a.tar.bz2
samba-8dcac9f8daab74e1a95293fbf64d0c95ce7a0d2a.zip
Fix for reporting file system attributes correctly.
Jeremy. (This used to be commit 801ed2389b97f921aa855513696d304c542fda04)
Diffstat (limited to 'source3/smbd/trans2.c')
-rw-r--r--source3/smbd/trans2.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/smbd/trans2.c b/source3/smbd/trans2.c
index bd2237253e..dff57a41c2 100644
--- a/source3/smbd/trans2.c
+++ b/source3/smbd/trans2.c
@@ -1170,7 +1170,8 @@ static int call_trans2qfsinfo(connection_struct *conn,
{
int fstype_len;
SIVAL(pdata,0,FILE_CASE_PRESERVED_NAMES|FILE_CASE_SENSITIVE_SEARCH|
- lp_nt_acl_support() ? FILE_PERSISTENT_ACLS : 0); /* FS ATTRIBUTES */
+ FILE_DEVICE_IS_MOUNTED|
+ (lp_nt_acl_support() ? FILE_PERSISTENT_ACLS : 0)); /* FS ATTRIBUTES */
#if 0 /* Old code. JRA. */
SIVAL(pdata,0,0x4006); /* FS ATTRIBUTES == long filenames supported? */
#endif /* Old code. */