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

2003-02-14 Thread Jean-Paul ARGUDO
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

--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


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

2003-02-14 Thread Ronan Waide
On February 14, [EMAIL PROTECTED] said:
 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!!!

I presume that's output from ls -l. I would hazard a guess that your
server and client clocks are not in sync. If you're on linux, try ls
--full-time

Cheers,
Waider.
-- 
We are experiencing MVS processor spin loops, the programs are running while
 holding a disabled CPU. This is causing XCF communication delays to the point
 where we are losing VTAM RTP routing, are suffering OSPF adjacency failures on
 TCP/IP dynamic routing and MIM VCF failures. - Reported via Slashdot
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



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

2003-02-14 Thread Jean-Paul ARGUDO
I presume that's output from ls -l. I would hazard a guess that your
server and client clocks are not in sync. If you're on linux, try ls
--full-time


Yes! It's ls -l output I've posted.

And yes again, client and server are not in sync.

Do you mean that way I've to install ntpd and sync date/hour mechanism 
between samba server and clients?

Why? Is there any paragraph on this in the samba howto collection?

Thanks a lot!!

--
Jean-Paul ARGUDO

--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


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

2003-02-14 Thread Ronan Waide
On February 14, [EMAIL PROTECTED] said:
  I presume that's output from ls -l. I would hazard a guess that your
  server and client clocks are not in sync. If you're on linux, try ls
  --full-time
 
 Yes! It's ls -l output I've posted.
 
 And yes again, client and server are not in sync.
 
 Do you mean that way I've to install ntpd and sync date/hour mechanism 
 between samba server and clients?

You don't have to, but it's probably a good idea. Note that you can
run net time \\sambaserver /set on the clients to sync them up with
the server.
 
 Why? Is there any paragraph on this in the samba howto collection?

Dunno.

Waider.
-- 
[EMAIL PROTECTED] / Yes, it /is/ very personal of me.

It's a kludge to stop some old systems from breaking, as far as I know.
Much like the rest of Unix, really.
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



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

2003-02-14 Thread Francesc Guasch


Do you mean that way I've to install ntpd and sync date/hour mechanism 
between samba server and clients?

It's always a good idea to have the workstations in sync.
Type this in a .bat file, that loads at start:

NET TIME \\SERVER /SET /YES

--
frankie

--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba