sharing dbf via samba and local linux

192 views
Skip to first unread message

Francesco Perillo

unread,
Dec 23, 2019, 9:06:28 PM12/23/19
to harbou...@googlegroups.com
Probably I already asked in the past... can't remember.

Clients running various versions of windows (7, 8, 10) using DBFs shared on a linux server via samba (oplocks disabled etc etc)

My goal is to stop sharing DBFs files but I can't update all my programs at once: I'd need to port one module at time and so I may probably need to mix access from a harbour linux program and from windows clients.

How should I set the RDD?

Domenico D'Oria

unread,
Dec 23, 2019, 9:55:11 PM12/23/19
to Harbour Users
Hi Francesco, i'm using hbnetio server on ubuntu 18.04.03 lts server 64 bit, harbour 3.4, and hwgui on the same server ,last version as principal client on the same server.
Others clients are oohg ( for Now, but on the next months i will change it with hwgui with harbour 3.2 ) running on w7 Pro 32 or 64, w10 Pro 32 or 64 installed on a qnap drive reached by intranet/extranet with webdav ( raidrive ).
I admit the story is long, because i m writing code in my spare time, and on server side, i need to create a type of session to increase security and passing parameters form client to server and viceversa.
Regarsds
Domenico

Francesco Perillo

unread,
Dec 23, 2019, 10:05:14 PM12/23/19
to harbou...@googlegroups.com
Domenico,
from your message I understand that all your programs (both windows and linux) access data via hbnetio...

I'd like to access some DBF at the same time via hbnetio running on linux and via samba from windows clients.


Angel Pais

unread,
Dec 23, 2019, 11:15:15 PM12/23/19
to harbou...@googlegroups.com
That's what hbnetio was made for.
To eliminate the need for samba and it's nuances.
In native linux partitions, dbfs (files in general) are MUCH faster.
Przemek once said a 50X gain should be expected. AND you can have mixed clients (win, linux, mac, you name it )

--
--
You received this message because you are subscribed to the Google
Groups "Harbour Users" group.
Unsubscribe: harbour-user...@googlegroups.com
Web: http://groups.google.com/group/harbour-users

---
You received this message because you are subscribed to the Google Groups "Harbour Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to harbour-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/harbour-users/CADPHLr-t-bGhgGpNvRFoBp9iTQAKgdBX5ejCC8Vy%2BJfo%3DVPz6Q%40mail.gmail.com.

Francesco Perillo

unread,
Dec 23, 2019, 11:30:58 PM12/23/19
to harbou...@googlegroups.com
if you can modify all your code at the same time it is perfect... I agree...

Domenico D'Oria

unread,
Dec 24, 2019, 1:20:32 AM12/24/19
to Harbour Users
Sorry Francesco, i try to explain better.
On the server i have a classic desktop application and a netio server for others windows/linux clients.
The desktop application on linux server use normal dbf file access sharing, ntx indexes.
The windows clients ( w7,w10) access to linux server files via netio from intranet and from extranet.
Probably even with the linux desktop application i will use netio.
Regards and merry Christmas.

Ernad Husremovic

unread,
Dec 24, 2019, 1:26:03 AM12/24/19
to Harbour Users
What is the reason you have different code for windows and linux client?


On Tuesday, 24 December 2019 05:30:58 UTC+1, fperillo wrote:
if you can modify all your code at the same time it is perfect... I agree...

Il Mar 24 Dic 2019, 05:15 Angel Pais <don...@gmail.com> ha scritto:
That's what hbnetio was made for.
To eliminate the need for samba and it's nuances.
In native linux partitions, dbfs (files in general) are MUCH faster.
Przemek once said a 50X gain should be expected. AND you can have mixed clients (win, linux, mac, you name it )

El mar., 24 dic. 2019 a las 0:05, Francesco Perillo (<fper...@gmail.com>) escribió:
Domenico,
from your message I understand that all your programs (both windows and linux) access data via hbnetio...

I'd like to access some DBF at the same time via hbnetio running on linux and via samba from windows clients.


--
--
You received this message because you are subscribed to the Google
Groups "Harbour Users" group.

Web: http://groups.google.com/group/harbour-users

---
You received this message because you are subscribed to the Google Groups "Harbour Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to harbou...@googlegroups.com.

--
--
You received this message because you are subscribed to the Google
Groups "Harbour Users" group.

Web: http://groups.google.com/group/harbour-users

---
You received this message because you are subscribed to the Google Groups "Harbour Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to harbou...@googlegroups.com.

Domenico D'Oria

unread,
Dec 24, 2019, 4:11:37 AM12/24/19
to Harbour Users
Hi Ernad

some years ago i have to choose which gui to use, and the first reason was linux and windows o.s. even if on that days i wrote only on windows.

looking around i was impressed on marinas-gui, first for his semplicity.

after writing some code in windows i have the luck to have a pc for free ( my job is ict technician ) so i install debian 6 and after debian 7, so i port my software to linux in less than a week, compiled and run.

two years ago less or more Carozo ( the builder of Marinas ) for some reasons i do not know stop to upgrade his software to new versions of linux.

So i have decided to go with Hwgui. I take a lot of time to convert the software, but now almost the 80 % of code works.

at the same time i take the decision to work with netio, so i write a little server code. Netio is fast, is sure, and works an all o.s. and if you want to use different database, like postgres ao other it works.

( a little note, have you conisdered to add the support to firebird ? )

At the same time i take a look to OOHG that seem to be well mainteined by Fernando Yurisich, and so i write a little client to test the netio capability.

all works

then next year i'll go with hwgui for desktop application on both o.s.

regards

Ash

unread,
Dec 24, 2019, 9:23:06 AM12/24/19
to Harbour Users
Hello Francesco,

LetoDBf can do that while respecting Samba locks through a different port. 

Port 2812 
Port 2814 for Samba

It is all described in LetoDBf read.me file.

Regards.
Ash
Reply all
Reply to author
Forward
0 new messages