[Samba] OSX 10.9.2, samba 4.1.6-Ubuntu vs Microsoft Office 2011 and Read-Only files
John Russell
jb.fresh at gmail.com
Mon May 5 18:07:45 MDT 2014
Have you tried disabling oplocks?
http://www.samba.org/samba/docs/man/Samba-HOWTO-Collection/locking.html
http://tech.serbinn.net/2012/disable-samba-oplocks-in-mixed-environment/
On Sun, May 4, 2014 at 7:06 PM, Bob Tanner <tanner at real-time.com> wrote:
> 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
>
>
> --
> To unsubscribe from this list go to the following URL and read the
> instructions: https://lists.samba.org/mailman/options/samba
>
--
"It's better to be boldly decisive and risk being wrong than to agonize at
length and be right too late."
Marilyn Moats Kennedy
More information about the samba
mailing list