Word97 failing to write to share
Michael Harlow
Mike.Harlow at utas.edu.au
Sat Mar 27 09:09:37 GMT 1999
Help. I am having trouble getting word97 to write a file to a share.
I dont remember this sort of problem in the past. Excel97 works fine,
I can drag-n-drop files into the share, and notepad will open/write
and save-as just fine. I can create folders Word97 however either
says that there is a permissions problem, or to check that the disk
is still in the drive.
NT4 SP4 to Solaris 2.5/Samba 2.0.3, Word97-SR2
This is what smbstatus returns initially.
****
Samba version 2.0.3
Service uid gid pid machine
----------------------------------------------
No locked files
Share mode memory usage (bytes):
1048464(99%) free + 56(0%) used + 56(0%) overhead = 1048576(100%) total
*****
Then after I browse to the share within the Word Save-As dialog box...
Samba version 2.0.3
Service uid gid pid machine
----------------------------------------------
mike mike sggadm 26515 federation (131.217.40.116) Sat Mar
27 17:45:01 1999
No locked files
Share mode memory usage (bytes):
1048464(99%) free + 56(0%) used + 56(0%) overhead = 1048576(100%) total
*****
Then after I click OK (to save) and word97 brings up the error message
I have this...
Samba version 2.0.3
Service uid gid pid machine
----------------------------------------------
mike mike sggadm 26515 federation (131.217.40.116) Sat Mar
27 17:45:01 1999
mike mike sggadm 26515 federation (131.217.40.116) Sat Mar
27 17:45:48 1999
mike mike sggadm 26515 federation (131.217.40.116) Sat Mar
27 17:45:48 1999
mike mike sggadm 26515 federation (131.217.40.116) Sat Mar
27 17:45:48 1999
mike mike sggadm 26515 federation (131.217.40.116) Sat Mar
27 17:45:48 1999
Locked files:
Pid DenyMode R/W Oplock Name
--------------------------------------------------
26515 DENY_NONE RDWR NONE
/home/mike/sambatest/~WRD0000.tmp Sat Mar 27 17:45:47 1999
26515 DENY_NONE RDONLY NONE /home/mike/sambatest/Test.doc
Sat Mar 27 17:45:48 1999
26515 DENY_NONE RDONLY NONE /home/mike/sambatest/Test.doc
Sat Mar 27 17:45:48 1999
Share mode memory usage (bytes):
1048224(99%) free + 256(0%) used + 96(0%) overhead = 1048576(100%) total
I now have a zero-length file (correct name)
and a non-zero length word temp file.
drwxrwxrwx 3 mike sggadm 512 Mar 27 19:06 ./
drwx------ 36 mike sggadm 3072 Mar 27 18:50 ../
-rw-r----- 1 mike sggadm 13824 Mar 27 18:46 Book1.xls
drwxr-x--- 2 mike sggadm 512 Mar 27 19:06 NewFolder/
-rw-r----- 1 mike sggadm 0 Mar 27 17:45 Test.doc
-rw-r----- 1 mike sggadm 1858 Mar 27 18:45 Text Document.txt
-rw-r----- 1 mike sggadm 19456 Mar 27 17:45 ~WRD0000.tmp
*************
create mask 0740
force create mode 0400
directory mask 0750
force directory mode 0500
global SMB.conf locking options are set to defaults:
i.e. kernel oplocks = yes, locking = yes, ole lock comp=yes, oplocks = yes
strict locking = no, share modes = yes.
share smb.conf locking options are also at default:
blocking = yes, fake oplocks = no, locking = yes, oplocks = yes
strict locking = no, share modes = yes
************
This is the line from the log file
Share violation on file (1,4,2,26515,sambatest/~WRD0000.tmp,fcbopen = 0,
flags = 2) = 0
I can generate a log file of any level showing this in action very
easily.
Does anyone have a solution or set of smb.conf options I should use ?
Thanks, Michael
------------------------------------------------------------------------
Michael J Harlow email : Mike.Harlow at utas.edu.au
Computer Systems Officer, School of Geography and Environmental Studies,
University of Tasmania, GPO Box 252-78, Hobart Tasmania 7001, Australia.
Phone : (03) 6226 2212 or 0419 585 308 fax : (03) 6226 2989
------------------------------------------------------------------------
More information about the samba
mailing list