Has anyone seen file corruption with Excel 97 SR1, on Samba? Scotty (scott@dork.com) is running 2.0.7 on SCO 5.0.4 on a Compaq Proliant 800, compiled on SCO 5.0.5 box. He writes, on comp.protocol.smb:> Oh dear. If this is the case does that mean my clients can't use Excel > 97 SR1 on Samba or is there a workaround? At the moment some of my > clients users are saving files to their C drives because it is ticking > them off....obviously not ideal...it took me long enough to get them out > of this habit! Do I now have to try to sell them a NT box?He's suspicious of locking, and has turned off oplocks:> ole locking compatibility = Yes > oplock break wait time = 10 > lock directory = /usr/local/samba/var/locks > veto oplock files > blocking locks = Yes > fake oplocks = No > locking = Yes > oplocks = No > level2 oplocks = No > oplock contention limit = 2 > strict locking = No > share modes = Yes...> [homes] > comment = UNIX Home Directories > path = %H > valid users = %S > writeable = Yes > browseable = No--dave -- David Collier-Brown, | Always do right. This will gratify some people 185 Ellerslie Ave., | and astonish the rest. -- Mark Twain Willowdale, Ontario | //www.oreilly.com/catalog/samba/author.html Work: (905) 415-2849 Home: (416) 223-8968 Email: davecb@canada.sun.com
On Wed, 26 Jul 2000, David Collier-Brown wrote:> Has anyone seen file corruption with Excel 97 SR1, on Samba? > Scotty (scott@dork.com) is running 2.0.7 on SCO 5.0.4 on a > Compaq Proliant 800, compiled on SCO 5.0.5 box. >We *used* to get file corruption when different PCs were trying to access excel or word documents on the SCO server at the same time using different methods, ie one PC using samba, another using PC-NFS (don't ask ;-) as the locking between the two is nowhere near compatible. The corruption was on SCO 5.0.4 with older versions of samba. More recently, I have had problems with 2.0.6 and oplocks, but that was probably due to the strange gcc compiling environment and libraries we have, so I ended up using pre-compiled binaries from ftp.sdc.com.au built by Stephen Davies At this time, our main SCO samba box is happily serving 94 connections... -- Alastair Broom ValleyT Ltd, Edinburgh, Bonnie Scotland abroom@valleyt.co.uk