[Samba] Microsoft Office File Converter Problem

Markus F. samba at weisset.net
Mon Mar 22 02:04:29 MDT 2010


Dale Schroeder schrieb:
> Markus,
> 
> Don't know if you fixed this or not, but try adding
>     veto oplock files = /*.doc/*.docx/*.xls/*.xlsx/
> Add as many extensions as you need.  If any of your programs saves the 
> extensions in CAPS (*.DOCX), add that variation also.
> 
> Dale
> 
> 
> On 03/17/2010 7:02 AM, Markus F. wrote:
>> Hi,
>>
>> I have a samba server 3.4.0 running on a ubuntu karmic and there is a
>> problem with the File Converter of Microsoft Office.
>>
>> When someone opens a .docx or .xlsx file with Office 2003 + File 
>> Converter, does some changes and tries to save the changes an error 
>> occurs:
>> (something like)
>>
>> The file is locked for editing by another user.
>>
>> Afterwards the file is deleted.
>>
>> Here is a part of the smb.conf:
>>
>> [global]
>>
>>    workgroup = work
>>    unix extensions = no
>>
>>    server string = %h server (Samba, Ubuntu)
>>
>> #   wins support = no
>>
>> ;   wins server = w.x.y.z
>>
>>    dns proxy = no
>>
>> ;   interfaces = 127.0.0.0/8 eth0
>> interfaces = eth0
>> ;   bind interfaces only = yes
>>
>>    security = user
>>
>>    encrypt passwords = true
>>
>>    passdb backend = tdbsam
>>
>>    obey pam restrictions = yes
>>
>>    unix password sync = yes
>>
>>    passwd program = /usr/bin/passwd %u
>>    passwd chat = *Enter\snew\s*\spassword:* %n\n
>>
>>    pam password change = yes
>>    map to guest = bad user
>>
>> [share1]
>> comment = share1
>> writeable = yes
>> path = /srv/files/share1
>> create mask = 770
>> directory mask = 770
>> valid users = +share1
>> browseable = yes
>> guest ok = no
>>
>> Any ideas for solving the problem?
>>
>> Thanks and with kind regards,
>>
>> markus
>>
>> PS: Same Problem on samba 3.0.14/ dabian sarge with a different config.
>>
>>

Thanks for your reply, but it doesnt work, too. The only solution is 
"chmod 777", but thats not really an option :/

markus



More information about the samba mailing list