António
unread,Aug 9, 2023, 3:01:38 PM8/9/23Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Harbour Users
Dear All,
Using samba as file server , client machines are a mix of Centos Linux 7 and Windows 10. All clients using the same Harbour application to access shared DBF/NTX files.
File server (Rocky Linux 9.2) is: samba-4.17.5-103.el9_2.x86_64
/etc/samba/smb.conf contains basically:
[global]
workgroup = XPTO
security = user
passdb backend = tdbsam
level2 oplocks = No
oplocks = No
hostname lookups = Yes
acl allow execute always = Yes
dos filemode = Yes
Trying to move client machines away from Centos 7, I have been seeing strange byte range locks on a new Rocky Linux 9.2 client test machine.
With old clients Centos 7.9 -> samba-client-4.10.16-24.el7_9.x86_64:
Byte range locks:
Pid dev:inode R/W start size SharePath Name
3396 2431:14156401:0 W 1000013612 1 ENCOMEND.DBF
Correct and expected behavior: 1 byte (1000013612) locked for writing.
But with new client Rocky Linux 9.2 -> samba-client-4.17.5-102.el9.x86_64:
Byte range locks:
Pid dev:inode R/W start size SharePath Name
8780 2431:14156401:0 R 0 -9223372036854775808 ENCOMEND.DBF
The same file gets blocked an not available to any other client, either for reading or writing.
Searched for that size of "-9223372036854775808" it appears to be the lowest signed integer that can be stored in 64bits...
Having a range of negative length must mean something is wrong.
Has anyone seen this, and could share some direction where to look for ?
Have just built both Harbour (2023-07-07 00:07) and my application on Rocky 9, with no luck...
Thanks in advance,
António Vila-Chã, Portugal