Ronnie Sahlberg, Samba Team member - has written a new small-footprint SMB2/3 client library. Compiled size is 120KB (yes, that is *KB*, not MB :-). It supports signing, sealing, NTLM authentication (and krb5 with external libraries).
It has *no* dependencies (other than the afore-mentioned krb5 if you need it) and is available for checkout and hacking at: git clone git://git.samba.org/libsmb2.git License is LGPLv2.1+, and it is developed independently of the main samba project, so please send patches directly to: Ronnie Sahlberg <ronniesahlb...@gmail.com> Submission of patches grants him the rights to integrate into the code under LGPLv2.1+. It's designed to expand SMB2/3 use into the small device Internet of Things and is already used by the VLC and Kodi projects, and someone has ported it to load games off an SMB3 server instead of a cassette tape for a Tandy TRS-80 (for the over 45's on the list :-). It will *never* support SMB1 :-). Thanks Ronnie for making samba.org the home of all things SMB ! Samba Team.