[Samba] Found MS-Word 97 & Samba bug : diagnostic found!

Jean-Paul ARGUDO jean.paul.argudo at pack-solutions.com
Fri Feb 14 11:33:31 GMT 2003


Hi all,

I have a bug with Version 2.2.3a-12 for Debian GNU/Linux (custom 2.4.20 
kernel with aacraid support (DELL PowerEdge 1650 with RAID mirror, etc)):

Some users have, SOMETIMES, a READ ONLY set on files, where no one 
except them use this files.

I'm in oplocks=false because of MS-Excel 97 issues, and, no need of fast 
performances at the moment (<10 users).

I put a /home/public with nobody.nogroup rights.
Each users is in "nogroup" group too.
force user=nobody on this share
set force create mask=0664 on this share

And, here what I have!!! : First file has NO PROBLEM, second one HAS 
"READ ONLY" ERROR, (but not if the file is REOPEN again):

-rw-rw-r--    1 nobody   nogroup     37888 Feb 14 11:46 test_file_1.doc
-rwxr--r--    1 nobody   nogroup     37376 Feb 14  2003 test_file_2.doc

Look at date "Feb 14  2003": erkk!! this is not a standard date!!!

If I "touch" the file, as root, the date is now ok:

-rw-rw-r--    1 nobody   nogroup     37888 Feb 14 11:46 test_file_1.doc
-rwxr--r--    1 nobody   nogroup     37376 Feb 14 11:59 test_file_2.doc

Then, the user can access the file, with READ/WRITE permissions

Please consider too that "-rwxr--r--" has nothing to do with 664 
permissions!! :-/

I think there is a mess with Samba and Word 97 ..

I found that Samba 2.0.4 has a fix for Word 97 issues. Seems there's 
still one lurking around?

Or did I configured badly??

Thanks a lot for answering

*-----------------------------------
Here datas on my config:
*-----------------------------------
KERNEL:
Linux master 2.4.20 #5 SMP Fri Feb 7 10:06:37 CET 2003 i686 unknown

UPTIME/LOAD:
12:21:56 up 6 days, 22:37,  3 users,  load average: 0.01, 0.00, 0.00

SAMBA:
Version 2.2.3a-12 for Debian
   => (I know it's old but it's still the version in the debian/stable)

*-----------------------------------
/etc/samba/smb.conf
*-----------------------------------
[global]
netbios name=MASTER
workgroup=PACK
security=user
encrypt passwords=Yes
domain logons=yes
logon script=logon.bat
os level=64
domain master=yes
local master=yes
preferred master=yes
wins support = yes
name resolve order = wins hosts lmhosts bcast
oplocks=no

hosts allow=192.168.0. 192.168.1.

log level=1

printer driver file=/home/public/driver/printers.def
server string=PACK DOMAIN CONTROLER

[netlogon]
path=/var/samba/netlogon
read only=yes
public=no

[profiles]
path=/var/samba/profiles
read only=no
create mask = 0600
directory mask = 0700

[homes]
browseable=No
writeable=Yes
guest ok=no
comment=HOME
create mask = 0600
directory mask = 0700
valid users = %S

[public]
path=/home/public
browseable=Yes
writeable=Yes
guest ok=yes
read only=no
force user=nobody
comment=PUBLIC
set force create mask = 0664

[pdf]
path=/tmp
printable=yes
guest ok=yes
print command=/usr/bin/printpdf %s
lpq command=
lprm command=
printer driver=HP C LaserJet 4500-PS
printer driver location=\\%h\printer$

[printer$]
path=/home/public/driver
guest ok=yes
read only=yes


--

Really hope this report has all data you need to answer my question!
Ask me more info you'd need.

-- 
Jean-Paul ARGUDO



More information about the samba mailing list