The branch, master has been updated
       via  a5cace128d1dcabd6cc90dda71a09dfa8ee8c6f6 (commit)
      from  7748d3098aa1d72aa62bfcca21148d9d5c9a4d25 (commit)

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master


- Log -----------------------------------------------------------------
commit a5cace128d1dcabd6cc90dda71a09dfa8ee8c6f6
Author: Volker Lendecke <v...@samba.org>
Date:   Wed Sep 9 21:58:47 2009 +0200

    s3:smbd: Add a "hidden" parameter "share:fake_fscaps"
    
    This is needed to support some special app I've just come across where I 
had to
    set the SPARSE_FILES bit (0x40) to make it work against Samba at all. There
    might be others to fake. This is definitely a "Don't touch if you don't know
    what you're doing" thing, so I decided to make this an undocumented 
parametric
    parameter.
    
    I know this sucks, so feel free to beat me up on this. But I don't think it
    will hurt.

-----------------------------------------------------------------------

Summary of changes:
 source3/smbd/trans2.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source3/smbd/trans2.c b/source3/smbd/trans2.c
index da23697..73873e0 100644
--- a/source3/smbd/trans2.c
+++ b/source3/smbd/trans2.c
@@ -2982,6 +2982,9 @@ cBytesSector=%u, cUnitTotal=%u, cUnitAvail=%d\n", 
(unsigned int)st.st_ex_dev, (u
 
                        /* Capabilities are filled in at connection time 
through STATVFS call */
                        additional_flags |= conn->fs_capabilities;
+                       additional_flags |= lp_parm_int(conn->params->service,
+                                                       "share", "fake_fscaps",
+                                                       0);
 
                        
SIVAL(pdata,0,FILE_CASE_PRESERVED_NAMES|FILE_CASE_SENSITIVE_SEARCH|
                                FILE_SUPPORTS_OBJECT_IDS|FILE_UNICODE_ON_DISK|


-- 
Samba Shared Repository

Reply via email to