Problem with Word 6.0 on samba share

Paolo Borsa samvise at bigfoot.com
Wed Sep 22 11:24:39 GMT 1999


Hi all,

I have a problem opening file on a samba share with Word 6.0.
We use samba 2.0.5a running on a HP9000/800 (HP-UX 10.20).
Often when try to open file, Word stop responding for some minutes
(generally from 2 to 5) and then word succed to open it.
In the sambadir/var the corresponding log file is like this :

[1999/09/20 17:10:52, 1] smbd/service.c:make_connection(521)
  pc000320 (aaa.bbb.ccc.ddd) connect to service LSW as user ottone
(uid=31053, gid=207) (pid 26890)
[1999/09/20 17:12:13, 1] smbd/service.c:make_connection(521)
  pc000320 (aaa.bbb.ccc.ddd) connect to service LSW as user ottone
(uid=31053, gid=207) (pid 538)
[1999/09/20 17:12:13, 0] locking/locking_shm.c:shm_get_share_modes(213)
  get_share_modes: process 26890 no longer exists
[1999/09/20 17:12:13, 0] locking/locking_shm.c:shm_get_share_modes(241)
  get_share_modes: file with dev 40010001 inode 315642 empty
[1999/09/20 17:12:23, 0] smbd/oplock.c:oplock_break(905)
  oplock_break resend
[1999/09/20 17:12:33, 0] smbd/oplock.c:oplock_break(905)
  oplock_break resend
[1999/09/20 17:12:43, 0] smbd/oplock.c:oplock_break(905)
  oplock_break resend
[1999/09/20 17:12:53, 0] smbd/oplock.c:oplock_break(922)
  oplock_break: receive_smb timed out after 30 seconds.
  oplock_break failed for file src/pnix/swbase/iopmdiag/doc/iopmd_03.doc
(dev = 40010001, inode = 315642).
[1999/09/20 17:12:53, 0] smbd/oplock.c:oplock_break(992)
  oplock_break: client failure in break - shutting down this smbd.
[1999/09/20 17:12:53, 1] smbd/service.c:close_cnum(557)
  pc000320 (0.0.0.0) closed connection to service LSW
[1999/09/20 17:12:54, 1] smbd/service.c:make_connection(521)
  pc000320 (aaa.bbb.ccc.ddd) connect to service LSW as user ottone
(uid=31053, gid=207) (pid 540)
[1999/09/20 17:13:30, 1] smbd/service.c:make_connection(521)
  pc000320 (aaa.bbb.ccc.ddd) connect to service LSW2 as user ottone
(uid=31053, gid=207) (pid 540)
[1999/09/20 17:13:54, 0] smbd/oplock.c:oplock_break(905)
  oplock_break resend
[1999/09/20 17:14:04, 0] smbd/oplock.c:oplock_break(905)
  oplock_break resend
[1999/09/20 17:14:14, 0] smbd/oplock.c:oplock_break(905)
  oplock_break resend
[1999/09/20 17:14:24, 0] smbd/oplock.c:oplock_break(922)
  oplock_break: receive_smb timed out after 30 seconds.
  oplock_break failed for file src/pnix/swbase/iopmdiag/doc/iopmd_03.doc
(dev = 40010001, inode = 315642).
[1999/09/20 17:14:24, 0] smbd/oplock.c:oplock_break(992)
  oplock_break: client failure in break - shutting down this smbd.
[1999/09/20 17:14:24, 1] smbd/service.c:close_cnum(557)
  pc000320 (0.0.0.0) closed connection to service LSW2
[1999/09/20 17:14:24, 1] smbd/service.c:close_cnum(557)
  pc000320 (0.0.0.0) closed connection to service LSW
[1999/09/20 17:14:25, 1] smbd/service.c:make_connection(521)
  pc000320 (aaa.bbb.ccc.ddd) connect to service LSW as user ottone
(uid=31053, gid=207) (pid 562)
[1999/09/20 17:14:35, 0] smbd/oplock.c:oplock_break(905)
  oplock_break resend
[1999/09/20 17:14:45, 0] smbd/oplock.c:oplock_break(905)
  oplock_break resend
[1999/09/20 17:14:55, 0] smbd/oplock.c:oplock_break(905)
  oplock_break resend
[1999/09/20 17:15:05, 0] smbd/oplock.c:oplock_break(922)
  oplock_break: receive_smb timed out after 30 seconds.
  oplock_break failed for file src/pnix/swbase/iopmdiag/doc/iopmd_03.doc
(dev = 40010001, inode = 315642).
[1999/09/20 17:15:05, 0] smbd/oplock.c:oplock_break(992)
  oplock_break: client failure in break - shutting down this smbd.
[1999/09/20 17:15:05, 1] smbd/service.c:close_cnum(557)
  pc000320 (0.0.0.0) closed connection to service LSW
[1999/09/20 17:15:06, 1] smbd/service.c:make_connection(521)
  pc000320 (aaa.bbb.ccc.ddd) connect to service LSW as user ottone
(uid=31053, gid=207) (pid 567)
[1999/09/20 17:15:16, 0] smbd/oplock.c:oplock_break(905)
  oplock_break resend
[1999/09/20 17:15:26, 0] smbd/oplock.c:oplock_break(905)
  oplock_break resend
[1999/09/20 17:15:36, 0] smbd/oplock.c:oplock_break(905)
  oplock_break resend
[1999/09/20 17:15:46, 0] smbd/oplock.c:oplock_break(922)
  oplock_break: receive_smb timed out after 30 seconds.
  oplock_break failed for file src/pnix/swbase/iopmdiag/doc/iopmd_03.doc
(dev = 40010001, inode = 315642).
[1999/09/20 17:15:46, 0] smbd/oplock.c:oplock_break(992)
  oplock_break: client failure in break - shutting down this smbd.
[1999/09/20 17:15:46, 1] smbd/service.c:close_cnum(557)
  pc000320 (0.0.0.0) closed connection to service LSW

No matter which user try to open a file, the result is always the same,
but, strangely, sometimes the users can open file with no delay.
Also no matter which share we use...

I've tried to use this parameters:

oplocks = False
fake oplocks = Yes

With this "add-on" we can access word document with no delay, but when it's
the time to save them, we can't... Word pop a window with this error on it
: "a network error or a file-access error was happened. Maybe the network
link can be broken" (Or something similar, this is a traslation from italian).

This is the smb.conf file :

# Global parameters
[global]
	workgroup = PLLB.LSS
	netbios name = LSW1
	server string = LSW1 Server - samba %v running on %h
	interfaces = aaa.bbb.ccc.ddd/16 eee.fff.ggg.hhh/24
	bind interfaces only = Yes
	security = SERVER
	password server = pwdsrv1 pwdsrv2
	passwd program = /sbin/passwd %u
	log file = /usr/local/samba/var/log.%m
	name resolve order = lmhosts host bcast wins
	time server = Yes
	deadtime = 30
	socket options = TCP_NODELAY
	load printers = No
	lm announce = False
	preferred master = Yes
	domain master = Yes
	create mask = 0775
	force create mode = 0775
	directory mask = 0775
	dos filetime resolution = Yes
	fake directory create times = Yes

[HOMES]
	comment = Home Directories
	read only = No
	browseable = No

[NETLOGON$]
	comment = Network Logon Service
	path = /usr/local/samba/lib/netlogon
	guest ok = No
	share modes = No

[IPC$]
	comment = Browse List Service
	path = /var/tmp
	browseable = No
	share modes = No

[PROFILES]
	path = /usr/local/samba/profiles
	guest ok = No
	browseable = No

[TMP]
	comment = Temporary file space
	path = /tmp
	read only = No

[LSW]
	comment = lsw
	path = /lsw
	read only = No

[PCSHARED]
	comment = pc shared
	path = /home/lanman

Any suggestion???

Thanks in advance (and sorry for my poor english, I'm from Italy:)),

Paolo Borsa



More information about the samba mailing list