Bob Tanner
2014-May-04 23:06 UTC
[Samba] OSX 10.9.2, samba 4.1.6-Ubuntu vs Microsoft Office 2011 and Read-Only files
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>
Jeremy Allison
2014-May-05 21:05 UTC
[Samba] OSX 10.9.2, samba 4.1.6-Ubuntu vs Microsoft Office 2011 and Read-Only files
On Sun, May 04, 2014 at 06:06:11PM -0500, Bob Tanner 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.Log a bug please at bugzilla.samba.org, and upload server logs and wireshark capture traces. Thanks, Jeremy.
John Russell
2014-May-06 00:07 UTC
[Samba] OSX 10.9.2, samba 4.1.6-Ubuntu vs Microsoft Office 2011 and Read-Only files
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
Bob Tanner
2014-May-06 19:44 UTC
[Samba] OSX 10.9.2, samba 4.1.6-Ubuntu vs Microsoft Office 2011 and Read-Only files
On 2014-05-04 23:06:11 +0000, Bob Tanner said:> 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.Tracking issue here https://bugzilla.samba.org/show_bug.cgi?id=10592 -- 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
Possibly Parallel Threads
- samba, sssd, Active Directory, NT_STATUS_NO_LOGON_SERVERS, NT_STATUS_ACCESS_DENIED
- samba, sssd, Active Directory, NT_STATUS_NO_LOGON_SERVERS, NT_STATUS_ACCESS_DENIED
- samba, sssd, Active Directory, NT_STATUS_NO_LOGON_SERVERS, NT_STATUS_ACCESS_DENIED
- samba, sssd, Active Directory, NT_STATUS_NO_LOGON_SERVERS, NT_STATUS_ACCESS_DENIED
- Dial : Executing context/priority after bridge?