[Samba] Samba / Office 2007/2010

Jones jones.kstw at gmail.com
Fri May 23 21:12:06 MDT 2014


Hello Tobias,

Could you follow these steps and try again,
1) Remove '/*.xlsx/*.xls/*.XLS' from 'veto oplock files'.
2) Add 'oplocks = yes' under section [cad].
3) Restart samba service.

hmm not sure if these steps works,
thanks.


--
Regards,
Jones


2014-05-23 21:37 GMT+08:00 Tobias Dinse <mailingliste1 at stegbauer.info>:

> Hi all,
>
> currently we have troubles with the constellation of Office 2007 / 2010
> and samba 3.6.6 on Debian 7.5.
>
> I can open a Excel file only one time without a write protection. The File
> is protected on the second try. I can move and copy the file wihtout any
> Problems. If I move such a Excel File I can open it again for only one time
> without a write Protection.
>
> I already reseted and checked my ACL configuration and tried chmod 777
> without success. Here is my Configuration for the Share (the Users are in
> the Group "cad"):
>
>
>
> [cad]
> comment = CAD
> path = /mnt/samba-daten/work/webdav/cad
> #guest ok = no
> writable = yes
> valid users = root, @cad, @xx-domuser
> admin users = root
> create mask = 0770
> force create mode = 0770
> directory mask = 0770
> force directory mode = 0770
> veto oplock files = /*.xlsx/*.xls/*.XLS/*.docx/*.doc/*.DOC /*.prt/ /*.PRT/
> /*.sldprt/ /*.SLDPRT/ /*.slddrw/ /*.SLDDRW/ /*.sldasm/ /*.SLDASM/ /*.dll/
> /*.DLL/ /~$*/
> vfs objects = recycle
> recycle:keeptree = yes
> recycle:touch = Yes
> recycle:versions = Yes
> recycle:maxsize = 1000000
> recycle:exclude = *.tmp
> recycle:exclude_dir = /tmp
> recycle:repository = Papierkorb/%U
> inherit acls = yes
> inherit permissions = yes
> map hidden = no
> map archive = no
> map readonly = no
> store dos attributes = yes
> dos filemode = yes
>
> getfacl for /mnt/samba-daten/work/webdav/cad
>
> # file: cad
> # owner: root
> # group: cad
> user::rwx
> group::rwx
> group:cad:rwx
> mask::rwx
> other::---
> default:user::rwx
> default:group::rwx
> default:group:cad:rwx
> default:mask::rwx
> default:other::---
>
>
> thanks and regards
>
> Tobias
>
>
>
>
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  https://lists.samba.org/mailman/options/samba
>


More information about the samba mailing list