[Samba] OSX 10.9.2, samba 4.1.6-Ubuntu vs Microsoft Office 2011 and Read-Only files

Bob Tanner tanner at real-time.com
Sun May 4 17:06:11 MDT 2014


Upgraded from samba 3.6.20 on gentoo to samba 4.1.6 on Ubuntu Trusty.  Since the upgrade all attempts to open Microsoft Office files results in the file being opened Read-Only. Found multiple posts from multiple sites dealing with similar problems.

http://answers.microsoft.com/en-us/mac/forum/macoffice2011-macword/files-read-only-on-linux-samba-fileshare-how-do-i/b1e3779a-8213-4378-976a-921400418446

https://groups.google.com/forum/#!topic/linux.samba/rELv_EUv0UU

https://lists.samba.org/archive/samba/2011-January/160316.html

http://www.linuxquestions.org/questions/linux-networking-3/ms-office-files-open-in-read-only-mode-from-samba-share-881172/

But none of the solutions or work-arounds fixed the problem.  

Other files open fine. Just Microsoft Office files open Read-Only.

Any recommendations?

Here's my configuration.

[global]
    netbios aliases = staff
    workgroup = STAFFERS
    local master = yes
    domain master = yes
    preferred master = yes
    os level = 31
    server string = testing
    security = user
    encrypt passwords = true
    obey pam restrictions = yes

    syslog = 0
    log file = /var/log/samba/%m.log
    max log size = 0

    socket options = TCP_NODELAY IPTOS_LOWDELAY SO_SNDBUF=8192 SO_RCVBUF=8192
    max xmit = 16384

    # NO roaming profiles http://melecio.org/node/5
    logon path =
    logon home =
    logon script = %U.bat

    template shell = /bin/bash
    template homedir = /home/%D/%U

    client use spnego = yes
    client ntlmv2 auth = yes
    restrict anonymous = 2
    unix extensions = no

    load printers = no
    printing = bsd
    printcap name = /dev/null
    disable spoolss = yes

[foo]
    comment = Testing
    path = /var/samba/foo
    writeable = yes
    veto files = /._*/.DS_Store/
    delete veto files = yes

    create mask = 0664
    force create mode = 0664

    directory mask = 2775
    force directory mode = 2775

--
Bob Tanner <tanner at real-time.com>                 | Phone : 952-943-8700
http://www.real-time.com, Linux, OSX, VMware | Fax      : 952-943-8500
Key fingerprint = 9906 320A 8BB6 64AD 96A7  7785 CBFB 10BF 568B F98C

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 275 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.samba.org/pipermail/samba/attachments/20140504/2a33203c/attachment-0001.pgp>


More information about the samba mailing list