You can't use a native DataFlex 3.2 for Linux application on a Linux server as well as Windows applications through Samba without first routing both to use the Samba share.
PROBLEMS OBSERVED: 1. It is impossible to save a new record via Samba if a file is open via Linux, yet it is possible to modify a record via Samba if a file is open via Linux.
2. When reading a record and then modifying a field in the same record through DF the correct data is displayed. However, if afterward the same record is called the old data is displayed.
SOLUTION: Lets say you have a Linux directory '/real/data' that holds the data for the DF application.
A samba share could be 'RealData', linked to this directory.
Mount a Linux drive to the Samba share on the same machine (e.g. '/realdata').
Reroute the DF application to find the data files in '/realdata' instead of '/real/data'.
Now the locking and buffering are done by Samba for both applications. |