I have just ported Ronnie Sahlberg's
libsmb2 to AmigaOS 4.
Testing it with the smb2-ls-sync example program (being able to specify the password on the command line is a custom extension I've made) to list a samba share on Ubuntu 22.04 LTS:
8.Work:Temp> smb2-ls-sync smb://user:password@fubuntu/myhome/Development/Projects/filesystems/smb2fs/libsmb2-git/
makefile FILE 1353 Sat Dec 10 10:17:00 2022
config.h FILE 2997 Fri Dec 9 20:22:32 2022
lib DIRECTORY 0 Sat Dec 10 17:47:07 2022
obj DIRECTORY 0 Sat Dec 10 17:47:10 2022
libsmb2.a FILE 1638578 Sat Dec 10 17:47:10 2022
include DIRECTORY 0 Fri Dec 9 21:13:55 2022
examples DIRECTORY 0 Sat Dec 10 17:47:31 2022
COPYING FILE 895 Fri Dec 9 19:48:46 2022
LICENCE-LGPL-2.1.txt FILE 26530 Fri Dec 9 19:48:46 2022
.. DIRECTORY 0 Sat Dec 10 13:16:12 2022
. DIRECTORY 0 Sat Dec 10 17:47:10 2022
The next step will be to try and use this to create a file system client using filesysbox.