dbwrap_py: rapid dbwrap backend prototyping and FoundationDB

Ralph Boehme slow at samba.org
Thu Jan 19 16:37:45 UTC 2023


On 1/17/23 21:17, Jeremy Allison wrote:
> Great work Ralph ! I'm looking forward to playing with this.

now you'll have more fun: traverse works. :)

$ sudo bin/smbstatus -L --json
{"timestamp": "2023-01-19T17:36:27.786935+0100", "version": 
"4.18.0pre1-DEVELOPERBUILD", "smb_conf": "/opt/samba/etc/smb.conf", 
"open_files": {"/srv/samba/test/file1": {"service_path": 
"/srv/samba/test", "filename": "file1", "fileid": {"devid": 34, "inode": 
8533751, "extid": 0}, "num_pending_deletes": 0, "opens": {"679206/3": 
{"server_id": {"pid": "679206", "task_id": "0", "vnn": "4294967295", 
"unique_id": "9512245246261323409"}, "uid": 1000, "share_file_id": "3", 
"sharemode": {"hex": "0x00000003", "READ": true, "WRITE": true, 
"DELETE": false, "text": "RW"}, "access_mask": {"hex": "0x00000003", 
"READ_DATA": true, "WRITE_DATA": true, "APPEND_DATA": false, "READ_EA": 
false, "WRITE_EA": false, "EXECUTE": false, "READ_ATTRIBUTES": false, 
"WRITE_ATTRIBUTES": false, "DELETE_CHILD": false, "DELETE": false, 
"READ_CONTROL": false, "WRITE_DAC": false, "SYNCHRONIZE": false, 
"ACCESS_SYSTEM_SECURITY": false, "text": "RW"}, "caching": {"READ": 
false, "WRITE": false, "HANDLE": false, "hex": "0x00000000", "text": 
""}, "oplock": {}, "lease": {}, "opened_at": 
"2023-01-19T17:24:11.952633+01:00"}}}}}

I feel so bleeding edge... JSON and FoundationDB. :)))

-slow

-- 
Ralph Boehme, Samba Team                 https://samba.org/
SerNet Samba Team Lead      https://sernet.de/en/team-samba

-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 840 bytes
Desc: OpenPGP digital signature
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20230119/f824fe22/OpenPGP_signature.sig>


More information about the samba-technical mailing list