I’m not the only one this exactly this kind of problem and, since nobody has the answer at this time, but I’ll expose it very precisely, in an attempt to avoid stupid answers. And I dont want answers like “Don’t use Windows”, thank you.
We are running DOS application writtent with Clipper using DOSEMU on a LINUX server.
Some workstation use Telnet (either Linux and Windows workstations), and some are directly connected on a TCP-IP LAN and acces to the application and files using SAMBA.There is no problem at all with the Telnet clients (except for display and keyboard problems, but this is another story, men).
The problem is with the network clients through Samba. The files/records locking just seem not to work. Everyone can access to anything in write or exclusive mode simultaneously !!!
The software has been carefully designed to ensure correct sharing (and it’s been working for years on Novell, Mircosoft, etc. networks) but of course all goes wrong with Samba allowing anybody to access to already locked records, such as several people creating an invoice with the same number at the same time and so on.
The effect is that the locking functions always return a success even if the file or record is already locked by another user.
This occurs only with Samba. Well the only solution we can see for now it putting everybody under Telnet, even users on the LAN, but all the Telnet emulators available for Windows display ugly with special IBM characters ! What’s more, they can’t send accented european characters, which makes documents very uneasy to read (that’s the problem I evoked precedently)
Anyone having a solution about parameters to allow file sharing using Samba would be welcomed, but I’m beginning to suspect a bug that has yet to be fixed.